diff --git a/library/x509parse.c b/library/x509parse.c index dca5306661..08dc4d0ba5 100644 --- a/library/x509parse.c +++ b/library/x509parse.c @@ -3461,6 +3461,7 @@ static int x509parse_verify_top( /* * Cannot check 'unknown' hash */ + trust_ca = trust_ca->next; continue; }