projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various cleanup of PROV_R_ reason codes
[openssl.git]
/
providers
/
implementations
/
encode_decode
/
encode_key2any.c
diff --git
a/providers/implementations/encode_decode/encode_key2any.c
b/providers/implementations/encode_decode/encode_key2any.c
index a8c9432f2da714720804dd60ae66ed5107439afe..8f868249ee81194420cc43b41d1c12f725386a75 100644
(file)
--- a/
providers/implementations/encode_decode/encode_key2any.c
+++ b/
providers/implementations/encode_decode/encode_key2any.c
@@
-96,7
+96,7
@@
static X509_SIG *p8info_to_encp8(PKCS8_PRIV_KEY_INFO *p8info,
if (!ossl_pw_get_passphrase(kstr, sizeof(kstr), &klen, NULL, 1,
&ctx->pwdata)) {
- ERR_raise(ERR_LIB_PROV, PROV_R_
READ_KEY
);
+ ERR_raise(ERR_LIB_PROV, PROV_R_
UNABLE_TO_GET_PASSPHRASE
);
return NULL;
}
/* First argument == -1 means "standard" */