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 Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
config.py
crypto_mbedtls.cpp mbedtls: Improve X509 certificate load error handling 2023-06-26 19:17:17 +02:00
crypto_mbedtls.h
dtls_server_mbedtls.cpp Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
dtls_server_mbedtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
packet_peer_mbed_dtls.cpp
packet_peer_mbed_dtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
register_types.cpp
register_types.h
SCsub
stream_peer_mbedtls.cpp
stream_peer_mbedtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
tls_context_mbedtls.cpp
tls_context_mbedtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00