From c388a8c394b69267153cba1168286a31fd2e4b1f Mon Sep 17 00:00:00 2001 From: Krzysztof Stachowiak Date: Wed, 31 Oct 2018 16:49:20 +0100 Subject: [PATCH] Fix typo in a test condition code --- library/x509_crt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/x509_crt.c b/library/x509_crt.c index 25aaff3b0..d0d1cdb65 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -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;