Fix typo in a test condition code

This commit is contained in:
Krzysztof Stachowiak 2018-10-31 16:49:20 +01:00
parent 2b5be1e630
commit c388a8c394

View file

@ -2180,7 +2180,7 @@ static int x509_crt_find_parent(
}
/* extra precaution against mistakes in the caller */
if( parent == NULL )
if( *parent == NULL )
{
*parent_is_trusted = 0;
*signature_is_good = 0;