mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
- Check for failed malloc() in ssl_set_hostname() and x509_get_entries() (Closes ticket #47, found by Hugo Leisink)
This commit is contained in:
parent
8b21f7a55d
commit
b15b851d6d
4 changed files with 13 additions and 1 deletions
|
|
@ -562,7 +562,7 @@ int ssl_set_dh_param_ctx( ssl_context *ssl, dhm_context *dhm_ctx );
|
|||
* \param ssl SSL context
|
||||
* \param hostname the server hostname
|
||||
*
|
||||
* \return 0 if successful
|
||||
* \return 0 if successful or POLARSSL_ERR_SSL_MALLOC_FAILED
|
||||
*/
|
||||
int ssl_set_hostname( ssl_context *ssl, const char *hostname );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue