summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/ecdsa/ecdsatest.c
diff options
context:
space:
mode:
authortb <>2022-08-31 07:12:30 +0000
committertb <>2022-08-31 07:12:30 +0000
commit77eac0ad9b595b925f07dc5b13a0538ec6557aba (patch)
tree6bdb4af846630524bbd90f1bf47734971b790b25 /src/regress/lib/libcrypto/ecdsa/ecdsatest.c
parent7e8f0de8850e4d835fd9bc12ef540caeef22e9ad (diff)
downloadopenbsd-77eac0ad9b595b925f07dc5b13a0538ec6557aba.tar.gz
openbsd-77eac0ad9b595b925f07dc5b13a0538ec6557aba.tar.bz2
openbsd-77eac0ad9b595b925f07dc5b13a0538ec6557aba.zip
Check return values in ssl_print_tmp_key()
Use EVP_PKEY_get0_EC_KEY() instead of the get1 version to avoid an EVP_PKEY_free(). Check return values: if either EVP_PKEY_get0_EC_KEY() or EC_KEY_get0_group() fail, a NULL dereference occurs. CID 43289 ok jsing
Diffstat (limited to 'src/regress/lib/libcrypto/ecdsa/ecdsatest.c')
0 files changed, 0 insertions, 0 deletions