projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix more error codes.
[oweals/openssl.git]
/
crypto
/
x509
/
x509_vfy.c
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index 9be7aca007925e3813332563c75ac825db7e536e..637e2b6142c57ffbd52cda0eca8bb86be19cbbdb 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-849,7
+849,7
@@
static int check_policy(X509_STORE_CTX *ctx)
ctx->param->policies, ctx->param->flags);
if (ret == 0)
{
- X509err(X509_F_
X509_VERIFY_CERT
,ERR_R_MALLOC_FAILURE);
+ X509err(X509_F_
CHECK_POLICY
,ERR_R_MALLOC_FAILURE);
return 0;
}
/* Invalid or inconsistent extensions */