summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-09-07 13:34:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-09-07 13:34:46 +0000
commitd82a612a9058eeb26a79161eac3fb978aa522ce9 (patch)
treea2ddd3d31e4b002aaf629b44d45ba28555f9f112 /apps/s_server.c
parente7e8f4b333af3412e260f5e41a34909bc3278b5e (diff)
Fix warning: print format option not compatible with size_t.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 279cc55196..328fcaff73 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -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)