Skip to content
Commit c2dbf9ef authored by Tomas Mraz's avatar Tomas Mraz
Browse files

BN_gcd(): Avoid shifts of negative values



Fixes #22216

Thanks to Leland Mills for investigation and testing.

Reviewed-by: default avatarTom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarPaul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22272)

(cherry picked from commit 0f7a3b0c)
parent ff0995ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment