oops missed an assert

This commit is contained in:
Dr. Stephen Henson 2011-01-03 12:54:08 +00:00
parent 85881c1d92
commit 09d84e03e8

View File

@ -799,7 +799,7 @@ static int v3_asid_validate_path_internal(X509_STORE_CTX *ctx,
/*
* Trust anchor can't inherit.
*/
assert(x != NULL);
OPENSSL_assert(x != NULL);
if (x->rfc3779_asid != NULL) {
if (x->rfc3779_asid->asnum != NULL &&
x->rfc3779_asid->asnum->type == ASIdentifierChoice_inherit)