commit | 27ae9ed7748d84fb84b4802958cbecaa879d4298 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@chromium.org> | Fri Jun 20 12:00:00 2014 -0700 |
committer | Adam Langley <agl@chromium.org> | Fri Jun 20 13:17:34 2014 -0700 |
tree | 2c0f2944a44903efb496be21de6f5156863255c9 | |
parent | 61bb3ddfabfb4386820927003cbf91a862893286 [diff] |
Small prime generation. 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.