mirror of
https://github.com/openssl/openssl.git
synced 2025-02-11 14:22:43 +08:00
Since the potential failure of the memory allocation, the OPENSSL_strdup() could return NULL pointer. Therefore, it should be better to check it in order to guarantee the success of the configuration, same as the check for SSL_CTX_set_srp_username(). Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17643) |
||
---|---|---|
.. | ||
cmp_testlib.c | ||
cmp_testlib.h | ||
handshake_srp.c | ||
handshake.c | ||
handshake.h | ||
pkcs12.c | ||
pkcs12.h | ||
predefined_dhparams.c | ||
predefined_dhparams.h | ||
ssl_test_ctx.c | ||
ssl_test_ctx.h | ||
ssltestlib.c | ||
ssltestlib.h |