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 Cleanup: Remove executable bit from files which don't need it 2021-01-19 23:36:42 +01:00
crypto_mbedtls.cpp mbedtls: Improve X509 certificate load error handling 2023-06-26 19:17:17 +02:00
crypto_mbedtls.h Exposes String functions for X509Certificates 2023-05-09 19:02:33 -04:00
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 mbedTLS: disable weak crypto and TLS versions. 2023-05-10 11:13:19 +02:00
packet_peer_mbed_dtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
register_types.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub mbedTLS: disable weak crypto and TLS versions. 2023-05-10 11:13:19 +02:00
stream_peer_mbedtls.cpp [Net] Remove StreamPeerTLS.blocking_handshake option. 2023-01-28 11:08:02 +01:00
stream_peer_mbedtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00
tls_context_mbedtls.cpp [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
tls_context_mbedtls.h Style: Harmonize header includes in modules 2023-06-15 14:35:45 +02:00