Adam Langley 96a4c31be3 Ensure that, when generating small primes, the result is actually of the
requested size. Fixes OpenSSL #2701.

This change does not address the cases of generating safe primes, or
where the |add| parameter is non-NULL.

Conflicts:
	crypto/bn/bn.h
	crypto/bn/bn_err.c
2013-06-04 18:52:30 +01:00
..
2012-12-11 15:52:10 +00:00
2011-10-19 14:59:27 +00:00
2013-06-04 18:47:11 +01:00
2012-03-30 15:43:32 +00:00
2010-06-12 14:13:23 +00:00
2005-08-23 04:14:40 +00:00
2002-11-14 11:22:01 +00:00
2013-06-04 18:47:11 +01:00