aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-04-10 14:01:17 +0000
committerlloyd <[email protected]>2014-04-10 14:01:17 +0000
commit5dc3912cc5cc11ef48c08c608c5724b25413c861 (patch)
tree0e9d0d14c59402d2383a50246135fc68fb22e38a /src/lib/tls
parentda2efcb6e07677cc8b0860508efb5d07c4f8171d (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