summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-12-04 06:30:28 +0100
committerRichard Levitte <levitte@openssl.org>2020-12-08 20:13:54 +0100
commita73a1892221e04ddb8ff9ec85ebaa48b5a853de6 (patch)
tree3fe3fa135e3af4361cad7e249ebfced0151f7933 /ssl
parent8d4b5260d22cc05894d606edd6cfc524661ab6e9 (diff)
EVP: constify the EVP_PKEY_get_*_param() argument |pkey|
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13436)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/t1_lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index d88b460c7b..6ad6f1b26f 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -3127,9 +3127,7 @@ static const SIGALG_LOOKUP *find_sig_alg(SSL *s, X509 *x, EVP_PKEY *pkey)
{
const SIGALG_LOOKUP *lu = NULL;
size_t i;
-#ifndef OPENSSL_NO_EC
int curve = -1;
-#endif
EVP_PKEY *tmppkey;
/* Look for a shared sigalgs matching possible certificates */