Emilia Kasper 44e4f5b04b Fix a ** 0 mod 1 = 0 for real this time.
Commit 2b0180c37fa6ffc48ee40caa831ca398b828e680 attempted to do this but
only hit one of many BN_mod_exp codepaths. Fix remaining variants and add
a test for each method.

Thanks to Hanno Boeck for reporting this issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
(cherry picked from commit d911097d7c93e4cfeab624b34d73fe51da158b69)
2015-12-14 17:57:49 +01:00
..
2015-05-22 23:43:07 +01:00
2015-06-04 09:26:43 +01:00
2015-05-22 23:43:07 +01:00
2015-05-22 23:43:07 +01:00
2015-01-22 09:31:38 +00:00
2015-06-23 03:03:10 +02:00
2015-06-23 03:02:05 +02:00