diff options
author | Rich Salz <rsalz@akamai.com> | 2015-06-04 14:26:55 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-06-09 12:48:55 -0400 |
commit | 7768e116dc0f2ad7c8d2241b887fc6c66d03e3bb (patch) | |
tree | bb758dbc279a225068e96c01c9ceae36f3b26b61 /apps/s_server.c | |
parent | 51b04a6117510d8a771f619cb419985f4dec32bb (diff) |
Use bio_err not stderr in apps.
Except for VMS startup code.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/s_server.c')
-rw-r--r-- | apps/s_server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 6bd0257a7a..8354386ba4 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -2376,8 +2376,8 @@ static int init_ssl_connection(SSL *con) { while (i <= 0 && SSL_get_error(con, i) == SSL_ERROR_WANT_X509_LOOKUP && SSL_state(con) == SSL3_ST_SR_CLNT_HELLO_C) { - fprintf(stderr, - "LOOKUP from certificate callback during accept\n"); + BIO_printf(bio_err, + "LOOKUP from certificate callback during accept\n"); i = SSL_accept(con); } } @@ -2811,10 +2811,10 @@ static int www_body(char *hostname, int s, int stype, unsigned char *context) #ifdef RENEG total_bytes += i; - fprintf(stderr, "%d\n", i); + BIO_printf(bio_err, "%d\n", i); if (total_bytes > 3 * 1024) { total_bytes = 0; - fprintf(stderr, "RENEGOTIATE\n"); + BIO_printf(bio_err, "RENEGOTIATE\n"); SSL_renegotiate(con); } #endif |