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.
This commit is contained in:
Dr. Stephen Henson
2012-06-25 14:32:30 +00:00
parent a8f3b8b519
commit 4453cd8c73
11 changed files with 283 additions and 116 deletions

View File

@@ -2064,7 +2064,7 @@ static void print_stuff(BIO *bio, SSL *s, int full)
BIO_write(bio,"\n",1);
}
ssl_print_sigalgs(bio, s);
ssl_print_sigalgs(bio, s, 1);
BIO_printf(bio,"---\nSSL handshake has read %ld bytes and written %ld bytes\n",
BIO_number_read(SSL_get_rbio(s)),