aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/primegen.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/primegen.c')
-rw-r--r--cipher/primegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/primegen.c b/cipher/primegen.c
index 6ff326050..bb7138a84 100644
--- a/cipher/primegen.c
+++ b/cipher/primegen.c
@@ -327,8 +327,8 @@ gen_prime( unsigned nbits, int secret, int randomlevel )
m_free(p);
}
- /* set high order bit to 1, set low order bit to .
- if we are generating a secret prime we are most probably
+ /* Set high order bit to 1, set low order bit to 0.
+ If we are generating a secret prime we are most probably
doing that for RSA, to make sure that the modulus does have
the requested keysize we set the 2 high order bits */
mpi_set_highbit( prime, nbits-1 );