diff options
author | June McEnroe <june@causal.agency> | 2021-04-18 18:06:43 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-04-18 18:06:43 -0400 |
commit | 15afbfa70cb6102c3c7ef0cecc6e83cb1730909b (patch) | |
tree | b30d471781cb969b00beacb4097d8196aa933841 | |
parent | Merge LibreSSL 3.3.2 into master (diff) | |
download | libretls-15afbfa70cb6102c3c7ef0cecc6e83cb1730909b.tar.gz libretls-15afbfa70cb6102c3c7ef0cecc6e83cb1730909b.zip |
tls: Use EC_KEY_set_ex_data
-rw-r--r-- | tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |