Highlight precondition of ciphersuite getter functions

This commit is contained in:
Hanno Becker 2019-07-02 17:24:12 +01:00
parent a1552ac37c
commit 870bcd3a6e

View file

@ -432,7 +432,7 @@ static inline int mbedtls_ssl_session_get_ciphersuite(
* Getter functions for the extraction of ciphersuite attributes * Getter functions for the extraction of ciphersuite attributes
* from a ciphersuite handle. * from a ciphersuite handle.
* *
* These functions have the validity of the handle as a precondition! * Warning: These functions have the validity of the handle as a precondition!
* Their behaviour is undefined when MBEDTLS_SSL_CIPHERSUITE_INVALID_HANDLE * Their behaviour is undefined when MBEDTLS_SSL_CIPHERSUITE_INVALID_HANDLE
* is passed. * is passed.
*/ */