diff options
author | 2018-08-19 15:38:03 +0000 | |
---|---|---|
committer | 2018-08-19 15:38:03 +0000 | |
commit | 481c1145e46ded4f26ffc82fbf5e609beda1850f (patch) | |
tree | 92f065d3d6b2ba59ca3c3c5308d01523b925c339 /lib/libssl/ssl_clnt.c | |
parent | Convert ssl3_send_newsession_ticket() to CBB. (diff) | |
download | wireguard-openbsd-481c1145e46ded4f26ffc82fbf5e609beda1850f.tar.xz wireguard-openbsd-481c1145e46ded4f26ffc82fbf5e609beda1850f.zip |
Rename and collapse tls12_get_sigandhash_cbb().
Now that all callers of tls12_get_sigandhash() have been converted to CBB,
collapse tls12_get_sigandhash() and tls12_get_sigandhash_cbb() into a
single function. Rename it to tls12_gethashandsig() to be representative
of the actual order of the sigalgs parameters, and perform some other
clean up.
ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/ssl_clnt.c')
-rw-r--r-- | lib/libssl/ssl_clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_clnt.c b/lib/libssl/ssl_clnt.c index fd78a8e8a58..b026aaaee2e 100644 --- a/lib/libssl/ssl_clnt.c +++ b/lib/libssl/ssl_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_clnt.c,v 1.31 2018/08/17 16:28:21 jsing Exp $ */ +/* $OpenBSD: ssl_clnt.c,v 1.32 2018/08/19 15:38:03 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -2416,7 +2416,7 @@ ssl3_send_client_verify(SSL *s) &hdata); md = s->cert->key->digest; if (hdatalen <= 0 || - !tls12_get_sigandhash_cbb(&cert_verify, pkey, md)) { + !tls12_get_hashandsig(&cert_verify, pkey, md)) { SSLerror(s, ERR_R_INTERNAL_ERROR); goto err; } |