summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-06-25 14:32:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-06-25 14:32:30 +0000
commit4453cd8c734349f4515eaa1b047464de0f34a1b5 (patch)
tree724963358f13bfc1b6f8c7986982875af95bb71d /apps/s_server.c
parenta8f3b8b519ddf028f7b1f915813b4ba2ceb858aa (diff)
Reorganise supported signature algorithm extension processing.
Only store encoded versions of peer and configured signature algorithms. Determine shared signature algorithms and cache the result along with NID equivalents of each algorithm.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 9467e28a41..e679f3e589 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -2572,7 +2572,7 @@ static int init_ssl_connection(SSL *con)
if (SSL_get_shared_ciphers(con,buf,sizeof buf) != NULL)
BIO_printf(bio_s_out,"Shared ciphers:%s\n",buf);
str=SSL_CIPHER_get_name(SSL_get_current_cipher(con));
- ssl_print_sigalgs(bio_s_out, con);
+ ssl_print_sigalgs(bio_s_out, con, 0);
ssl_print_curves(bio_s_out, con);
BIO_printf(bio_s_out,"CIPHER is %s\n",(str != NULL)?str:"(NONE)");
@@ -2915,7 +2915,7 @@ static int www_body(char *hostname, int s, unsigned char *context)
}
BIO_puts(io,"\n");
}
- ssl_print_sigalgs(io, con);
+ ssl_print_sigalgs(io, con, 0);
ssl_print_curves(io, con);
BIO_printf(io,(SSL_cache_hit(con)
?"---\nReused, "