summaryrefslogtreecommitdiff
path: root/crypto/store/store_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/store/store_lib.c')
-rw-r--r--crypto/store/store_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c
index 1ce61ea9da..671852cea2 100644
--- a/crypto/store/store_lib.c
+++ b/crypto/store/store_lib.c
@@ -663,7 +663,7 @@ EVP_PKEY *OSSL_STORE_INFO_get1_PUBKEY(const OSSL_STORE_INFO *info)
EVP_PKEY_up_ref(info->_.pubkey);
return info->_.pubkey;
}
- OSSL_STOREerr(0, OSSL_STORE_R_NOT_A_PUBLIC_KEY);
+ ERR_raise(ERR_LIB_OSSL_STORE, OSSL_STORE_R_NOT_A_PUBLIC_KEY);
return NULL;
}