commit | 5a5fa92bfe78ecac0ff9caa6ad2cdc02a1e6710a | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Sep 26 14:53:04 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Oct 03 15:47:13 2014 +0200 |
tree | 56ce685c9bee1d8b2fe133893f4bb37f638b93e6 | |
parent | 9e4ff953deca519aeeafb16280663eb673449716 [diff] [blame] |
x509_crt_parse() did not increase total_failed on PEM error Result was that PEM errors in files with multiple certificates were not detectable by the user.
diff --git a/library/x509_crt.c b/library/x509_crt.c index 03cdda8..7b22bc5 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c
@@ -898,6 +898,7 @@ if( first_error == 0 ) first_error = ret; + total_failed++; continue; } else