projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix from 1.0.0-stable.
[oweals/openssl.git]
/
crypto
/
x509v3
/
pcy_tree.c
diff --git
a/crypto/x509v3/pcy_tree.c
b/crypto/x509v3/pcy_tree.c
index 6c87a7f506c6c42577733b2a4bc215b5eb9f0454..89f84bfa18b2edff4eeb7e9a4a8cb0be7de7c04d 100644
(file)
--- a/
crypto/x509v3/pcy_tree.c
+++ b/
crypto/x509v3/pcy_tree.c
@@
-160,7
+160,7
@@
static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
tree->auth_policies = NULL;
tree->user_policies = NULL;
- if (!tree)
+ if (!tree
->levels
)
{
OPENSSL_free(tree);
return 0;