diff options
author | Rich Salz <rsalz@openssl.org> | 2015-04-29 11:27:08 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-04-29 11:27:08 -0400 |
commit | ecf3a1fb181c08540342cceb6549e0408b32d135 (patch) | |
tree | 683ff58f3b3a63163c1ad2369803f6fc44ed7e79 /apps/s_server.c | |
parent | bea6cd3e1c551b48007eedbb0cb0f3a8aa473138 (diff) |
Remove needless bio_err argument
Many functions had a BIO* parameter, and it was always called
with bio_err. Remove the param and just use bio_err.
Reviewed-by: Matt Caswell <matt@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 fb6fd3dbf7..701f52da63 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -1617,7 +1617,7 @@ int s_server_main(int argc, char *argv[]) ctx = SSL_CTX_new(meth); if (sdebug) - ssl_ctx_security_debug(ctx, bio_err, sdebug); + ssl_ctx_security_debug(ctx, sdebug); if (ctx == NULL) { ERR_print_errors(bio_err); goto end; @@ -1690,7 +1690,7 @@ int s_server_main(int argc, char *argv[]) BIO_printf(bio_s_out, "Setting secondary ctx parameters\n"); if (sdebug) - ssl_ctx_security_debug(ctx, bio_err, sdebug); + ssl_ctx_security_debug(ctx, sdebug); if (session_id_prefix) { if (strlen(session_id_prefix) >= 32) @@ -2487,7 +2487,7 @@ static int init_ssl_connection(SSL *con) } if (s_brief) - print_ssl_summary(bio_err, con); + print_ssl_summary(con); PEM_write_bio_SSL_SESSION(bio_s_out, SSL_get_session(con)); @@ -3036,7 +3036,7 @@ static int rev_body(char *hostname, int s, int stype, unsigned char *context) } } BIO_printf(bio_err, "CONNECTION ESTABLISHED\n"); - print_ssl_summary(bio_err, con); + print_ssl_summary(con); for (;;) { i = BIO_gets(io, buf, bufsize - 1); |