summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2021-06-29 18:55:48 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2021-06-29 18:55:48 +0000
commita911571f57d172641724c7ac576be1c41e32b17d (patch)
tree0dac4b06550042da2e10ef8f57997ea51b46f693 /lib
parent9962c68f89c0d97342a24824132e0d2760b81d73 (diff)
Mop up now unused variables.
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_sigalgs.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libssl/ssl_sigalgs.c b/lib/libssl/ssl_sigalgs.c
index f2238b4fdab..dbb08e0a468 100644
--- a/lib/libssl/ssl_sigalgs.c
+++ b/lib/libssl/ssl_sigalgs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_sigalgs.c,v 1.29 2021/06/27 18:15:35 jsing Exp $ */
+/* $OpenBSD: ssl_sigalgs.c,v 1.30 2021/06/29 18:55:47 jsing Exp $ */
/*
* Copyright (c) 2018-2020 Bob Beck <beck@openbsd.org>
*
@@ -274,16 +274,11 @@ ssl_sigalg_pkey_ok(const struct ssl_sigalg *sigalg, EVP_PKEY *pkey,
const struct ssl_sigalg *
ssl_sigalg_select(SSL *s, EVP_PKEY *pkey)
{
- const uint16_t *tls_sigalgs = tls12_sigalgs;
- size_t tls_sigalgs_len = tls12_sigalgs_len;
int check_curve = 0;
CBS cbs;
- if (S3I(s)->hs.negotiated_tls_version >= TLS1_3_VERSION) {
- tls_sigalgs = tls13_sigalgs;
- tls_sigalgs_len = tls13_sigalgs_len;
+ if (S3I(s)->hs.negotiated_tls_version >= TLS1_3_VERSION)
check_curve = 1;
- }
/* Pre TLS 1.2 defaults */
if (!SSL_USE_SIGALGS(s)) {