Skip to content
Commit ed04bcf6 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

bn/bn_mod.c: harmonize BN_mod_add_quick with original implementation.



New implementation failed to correctly reset r->neg flag. Spotted by
OSSFuzz.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6796)

(cherry picked from commit 70a579ae)
parent e1c495db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment