1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-26 01:52:45 +02:00
This commit is contained in:
Werner Koch 2002-01-05 18:02:59 +00:00
parent b60456db93
commit 9af5123df3

View File

@ -327,8 +327,8 @@ gen_prime( unsigned nbits, int secret, int randomlevel )
m_free(p); m_free(p);
} }
/* set high order bit to 1, set low order bit to . /* Set high order bit to 1, set low order bit to 0.
if we are generating a secret prime we are most probably If we are generating a secret prime we are most probably
doing that for RSA, to make sure that the modulus does have doing that for RSA, to make sure that the modulus does have
the requested keysize we set the 2 high order bits */ the requested keysize we set the 2 high order bits */
mpi_set_highbit( prime, nbits-1 ); mpi_set_highbit( prime, nbits-1 );