summaryrefslogtreecommitdiffstats
path: root/apps/s_client.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-02-15 15:29:59 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-02-15 15:29:59 +0000
commit0ed6b52687478299f4bc0f372e6ea4d6fbdfce49 (patch)
treee7b374e358fc9e7bd1eb92e49d65a636547b80a2 /apps/s_client.c
parenta63bf2c53c74723d06da144fe15736c0a709ee43 (diff)
Stop warning about use of *printf() without a format.
Diffstat (limited to 'apps/s_client.c')
-rw-r--r--apps/s_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index dcc289b798..5f09c31297 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -237,7 +237,7 @@ static unsigned int psk_client_cb(SSL *ssl, const char *hint, char *identity,
BIO_printf(bio_c_out, "Received PSK identity hint '%s'\n", hint);
/* lookup PSK identity and PSK key based on the given identity hint here */
- ret = BIO_snprintf(identity, max_identity_len, psk_identity);
+ ret = BIO_snprintf(identity, max_identity_len, "%s", psk_identity);
if (ret < 0 || (unsigned int)ret > max_identity_len)
goto out_err;
if (c_debug)