diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-26 19:17:09 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-26 19:17:17 +0200 |
commit | 8321e0355e8cab2e5222ac94d724874d173e1dd4 (patch) | |
tree | 831c4d525ac94ec0f1cf80d1edc59f7db87c0da9 /platform/linuxbsd/detect.py | |
parent | 2930fbeecd7eab4ccffd4aea82964f2b8fd25e84 (diff) | |
download | redot-engine-8321e0355e8cab2e5222ac94d724874d173e1dd4.tar.gz |
mbedtls: Improve X509 certificate load error handling
Positive numbers shouldn't be treated as a hard failure:
> For CRTs in PEM encoding, the function parses permissively:
> if at least one certificate can be parsed, the function
> returns the number of certificates for which parsing failed
> (hence \c 0 if all certificates were parsed successfully).
> If no certificate could be parsed, the function returns
> the first (negative) error encountered during parsing.
Fixes #77994.
Diffstat (limited to 'platform/linuxbsd/detect.py')
0 files changed, 0 insertions, 0 deletions