mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 14:01:13 +00:00
x509_crt_parse() did not increase total_failed on PEM error
This commit is contained in:
parent
86792a6cf3
commit
7d75ea4787
|
@ -12,6 +12,7 @@ Bugfix
|
||||||
Vialletelle).
|
Vialletelle).
|
||||||
* ssl_close_notify() could send more than one message in some circumstances
|
* ssl_close_notify() could send more than one message in some circumstances
|
||||||
with non-blocking I/O.
|
with non-blocking I/O.
|
||||||
|
* x509_crt_parse() did not increase total_failed on PEM error
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* X.509 certificates with more than one AttributeTypeAndValue per
|
* X.509 certificates with more than one AttributeTypeAndValue per
|
||||||
|
|
|
@ -1490,6 +1490,7 @@ int x509parse_crt( x509_cert *chain, const unsigned char *buf, size_t buflen )
|
||||||
if( first_error == 0 )
|
if( first_error == 0 )
|
||||||
first_error = ret;
|
first_error = ret;
|
||||||
|
|
||||||
|
total_failed++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue