Loading apps/s_client.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading ssl/ssltest.c +3 −3 Original line number Diff line number Diff line Loading @@ -470,7 +470,7 @@ int main(int argc, char *argv[]) debug = 0; cipher = 0; bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); bio_err=BIO_new_fp(stderr,BIO_NOCLOSE|BIO_FP_TEXT); CRYPTO_set_locking_callback(lock_dbg_cb); Loading @@ -489,7 +489,7 @@ int main(int argc, char *argv[]) RAND_seed(rnd_seed, sizeof rnd_seed); bio_stdout=BIO_new_fp(stdout,BIO_NOCLOSE); bio_stdout=BIO_new_fp(stdout,BIO_NOCLOSE|BIO_FP_TEXT); argc--; argv++; Loading Loading @@ -2350,7 +2350,7 @@ static unsigned int psk_client_callback(SSL *ssl, const char *hint, char *identi int ret; unsigned int psk_len = 0; ret = snprintf(identity, max_identity_len, "Client_identity"); ret = BIO_snprintf(identity, max_identity_len, "Client_identity"); if (ret < 0) goto out_err; if (debug) Loading Loading
apps/s_client.c +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading
ssl/ssltest.c +3 −3 Original line number Diff line number Diff line Loading @@ -470,7 +470,7 @@ int main(int argc, char *argv[]) debug = 0; cipher = 0; bio_err=BIO_new_fp(stderr,BIO_NOCLOSE); bio_err=BIO_new_fp(stderr,BIO_NOCLOSE|BIO_FP_TEXT); CRYPTO_set_locking_callback(lock_dbg_cb); Loading @@ -489,7 +489,7 @@ int main(int argc, char *argv[]) RAND_seed(rnd_seed, sizeof rnd_seed); bio_stdout=BIO_new_fp(stdout,BIO_NOCLOSE); bio_stdout=BIO_new_fp(stdout,BIO_NOCLOSE|BIO_FP_TEXT); argc--; argv++; Loading Loading @@ -2350,7 +2350,7 @@ static unsigned int psk_client_callback(SSL *ssl, const char *hint, char *identi int ret; unsigned int psk_len = 0; ret = snprintf(identity, max_identity_len, "Client_identity"); ret = BIO_snprintf(identity, max_identity_len, "Client_identity"); if (ret < 0) goto out_err; if (debug) Loading