BN_one() can fail, check its return value.
authorjsing <jsing@openbsd.org>
Thu, 1 Dec 2022 02:58:31 +0000 (02:58 +0000)
committerjsing <jsing@openbsd.org>
Thu, 1 Dec 2022 02:58:31 +0000 (02:58 +0000)
commitdd1a6ee86a43ca0a5e5cbce7a74789a58635a700
treedc1b7d38a90498e6bd5182e765244904a47827f9
parent36eaeeee8d761cea6a70e9e97003c06b13843e25
BN_one() can fail, check its return value.

ok tb@
lib/libcrypto/bn/bn_gcd.c
lib/libcrypto/gost/gostr341001.c