]> git.ipfire.org Git - thirdparty/openssl.git/commit
ssl/tls_srp.c: Add check for BN_dup
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Fri, 1 Jul 2022 08:23:58 +0000 (16:23 +0800)
committerTodd Short <todd.short@me.com>
Fri, 8 Jul 2022 17:05:03 +0000 (13:05 -0400)
commit12e488367d34657a5c0e1bc322e66c48463d2a0c
tree508182842cfdcc65a3b10758ebc0617d0156a2e4
parent65523758e546fcef0f930e5f8878ef51d174dbc8
ssl/tls_srp.c: Add check for BN_dup

As the potential failure of the BN_dup,
it should be better to check the return value
in order to guarantee the success.

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/18699)
ssl/tls_srp.c