godot/modules/mbedtls
Rémi Verschelde 8321e0355e
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.
2023-06-26 19:17:17 +02:00
..
tests
config.py
crypto_mbedtls.cpp
crypto_mbedtls.h
dtls_server_mbedtls.cpp
dtls_server_mbedtls.h
packet_peer_mbed_dtls.cpp
packet_peer_mbed_dtls.h
register_types.cpp
register_types.h
SCsub
stream_peer_mbedtls.cpp
stream_peer_mbedtls.h
tls_context_mbedtls.cpp
tls_context_mbedtls.h