]> git.ipfire.org Git - thirdparty/openssl.git/commit
Coverity 1521557: Error handling issues
authorPauli <pauli@openssl.org>
Wed, 1 Mar 2023 01:22:49 +0000 (12:22 +1100)
committerPauli <pauli@openssl.org>
Thu, 2 Mar 2023 23:10:22 +0000 (10:10 +1100)
commitdd573a2fc1e8806c67420a5d6df0de175745aaf8
tree1069067223211973c8d56f25cc83b6486789cc32
parente8ca529feb0d062ab9f869ac25a37cc4c6b8b329
Coverity 1521557: Error handling issues

Check the return from DSA_set0_key and generate an error on failure.
Technically a false positive since the function always returns success.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20409)
crypto/dsa/dsa_backend.c