Update from 0.9.8-stable.

This commit is contained in:
Dr. Stephen Henson 2009-04-03 11:37:47 +00:00
parent c6196da587
commit a414cbcad3

View File

@ -231,7 +231,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;