diff options
Diffstat (limited to '')
-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; } |