aboutsummaryrefslogtreecommitdiff
path: root/ssl/statem/statem_srvr.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-12-14 16:37:48 +0000
committerMatt Caswell <matt@openssl.org>2017-01-10 23:02:50 +0000
commit536199ece0469e6ee2d6d0c0d19c01adeae4c6fb (patch)
tree4253c9d5a1dfb359d68d769d29be5ef44e4dacda /ssl/statem/statem_srvr.c
parent2ec6cb33856e56a3e7d15c019f17e08a8bb33093 (diff)
downloadopenssl-536199ece0469e6ee2d6d0c0d19c01adeae4c6fb.zip
openssl-536199ece0469e6ee2d6d0c0d19c01adeae4c6fb.tar.gz
openssl-536199ece0469e6ee2d6d0c0d19c01adeae4c6fb.tar.bz2
Use NIDs instead of the old TLSv1.2 sigalgs hash and sig ids
We had an extra layer of indirection in looking up hashes and sigs based on sigalgs which is now no longer necessary. This removes it. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2157)
Diffstat (limited to 'ssl/statem/statem_srvr.c')
-rw-r--r--ssl/statem/statem_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c
index 12eb6ae..81a72ad 100644
--- a/ssl/statem/statem_srvr.c
+++ b/ssl/statem/statem_srvr.c
@@ -2222,7 +2222,7 @@ int tls_construct_server_key_exchange(SSL *s, WPACKET *pkt)
}
/* send signature algorithm */
if (SSL_USE_SIGALGS(s)) {
- if (!tls12_get_sigandhash(pkt, pkey, md)) {
+ if (!tls12_get_sigandhash(s, pkt, pkey, md)) {
/* Should never happen */
SSLerr(SSL_F_TLS_CONSTRUCT_SERVER_KEY_EXCHANGE,
ERR_R_INTERNAL_ERROR);