From 15afbfa70cb6102c3c7ef0cecc6e83cb1730909b Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 18 Apr 2021 18:06:43 -0400 Subject: tls: Use EC_KEY_set_ex_data --- tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls.c b/tls.c index 91f20cf..261d27f 100644 --- a/tls.c +++ b/tls.c @@ -471,7 +471,7 @@ tls_keypair_setup_pkey(struct tls *ctx, struct tls_keypair *keypair, EVP_PKEY *p break; case EVP_PKEY_EC: if ((eckey = EVP_PKEY_get1_EC_KEY(pkey)) == NULL || - ECDSA_set_ex_data(eckey, 0, keypair->pubkey_hash) == 0) { + EC_KEY_set_ex_data(eckey, 0, keypair->pubkey_hash) == 0) { tls_set_errorx(ctx, "EC key setup failure"); goto err; } -- cgit 1.4.1