Files
mbedtls/ChangeLog.d/verify-result-default-value.txt

6 lines
297 B
Plaintext
Raw Normal View History

Changes
* Harden mbedtls_ssl_get_verify_result() against misuse.
If the handshake has not yet been attempted, return -1u to indicate
that the result is not available. Previously the result of verification
was zero-initialized so the function would return 0 (indicating success).