summaryrefslogtreecommitdiffstats
path: root/crypto/store/store_result.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/store/store_result.c')
-rw-r--r--crypto/store/store_result.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/store/store_result.c b/crypto/store/store_result.c
index e0c0532152..6ac77b77dd 100644
--- a/crypto/store/store_result.c
+++ b/crypto/store/store_result.c
@@ -274,8 +274,8 @@ static EVP_PKEY *try_key_value(struct extracted_param_data_st *data,
}
decoderctx =
- OSSL_DECODER_CTX_new_by_EVP_PKEY(&pk, "DER", NULL, data->data_type,
- selection, libctx, propq);
+ OSSL_DECODER_CTX_new_for_pkey(&pk, "DER", NULL, data->data_type,
+ selection, libctx, propq);
(void)OSSL_DECODER_CTX_set_passphrase_cb(decoderctx, cb, cbarg);
/* No error if this couldn't be decoded */