summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-12 22:16:57 +0000
committerNils Larsch <nils@openssl.org>2006-03-12 22:16:57 +0000
commite968089485b10040ce96be49c1e6d327bfc47226 (patch)
tree3b36c72a9e7afe7212c2d8f6836f8092b8ed2737 /apps
parentc2cd422ac648d61189717afdaae1dbcd9aa75c78 (diff)
use BIO_snprintf() instead of snprintf + use BIO_FP_TEXT for text output
Submitted by: Gisle Vanem
Diffstat (limited to 'apps')
-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 f9527ab5c7..4eac4341c4 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -223,7 +223,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 = snprintf(identity, max_identity_len, psk_identity);
+ ret = BIO_snprintf(identity, max_identity_len, psk_identity);
if (ret < 0 || (unsigned int)ret > max_identity_len)
goto out_err;
if (c_debug)