]> git.ipfire.org Git - thirdparty/openssl.git/commit
BN_gcd(): Avoid shifts of negative values
authorTomas Mraz <tomas@openssl.org>
Wed, 4 Oct 2023 07:30:43 +0000 (09:30 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 5 Oct 2023 10:05:16 +0000 (12:05 +0200)
commit0f7a3b0caa33a87c900536dc1c02fa553d2193cc
treed159902e2bc7b76029cd992d61b0b24d0bc62b81
parentf7b80136a3df4396b19ebb86d4814d8cefe6d6db
BN_gcd(): Avoid shifts of negative values

Fixes #22216

Thanks to Leland Mills for investigation and testing.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22272)
crypto/bn/bn_gcd.c