diff options
author | lloyd <[email protected]> | 2014-04-10 14:01:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-04-10 14:01:17 +0000 |
commit | 5dc3912cc5cc11ef48c08c608c5724b25413c861 (patch) | |
tree | 0e9d0d14c59402d2383a50246135fc68fb22e38a /src/lib/tls | |
parent | da2efcb6e07677cc8b0860508efb5d07c4f8171d (diff) |
Fix a bug in Miller-Rabin primality testing introduced in 1.8.3
where we chose a single random nonce and tested it repeatedly, rather
than choosing new nonces each time. Reported by Jeff Marrison.
Also remove a pointless comparison (also pointed out by Jeff) and add
an initial test using a witness of 2.
Diffstat (limited to 'src/lib/tls')
0 files changed, 0 insertions, 0 deletions