Fix warning: print format option not compatible with size_t.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 7 Sep 2007 13:34:46 +0000 (13:34 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 7 Sep 2007 13:34:46 +0000 (13:34 +0000)
apps/s_server.c

index 279cc55..328fcaf 100644 (file)
@@ -317,7 +317,7 @@ static unsigned int psk_server_cb(SSL *ssl, const char *identity,
                }
        if (s_debug)
                BIO_printf(bio_s_out,"identity_len=%d identity=%s\n",
-                       identity ? strlen(identity) : 0, identity);
+                       identity ? (int)strlen(identity) : 0, identity);
 
        /* here we could lookup the given identity e.g. from a database */
        if (strcmp(identity, psk_identity) != 0)