diff options
author | Werner Koch <[email protected]> | 1998-06-25 10:19:08 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-06-25 10:19:08 +0000 |
commit | 06fd61d081367d1c7bdf7fd653fe56527ee2320a (patch) | |
tree | de84926892e4038c81953f635f8c3c52a9945d62 /cipher/dsa.c | |
parent | some more internall structure changes (diff) | |
download | gnupg-06fd61d081367d1c7bdf7fd653fe56527ee2320a.tar.gz gnupg-06fd61d081367d1c7bdf7fd653fe56527ee2320a.zip |
nearly ready for 0.3.0
Diffstat (limited to 'cipher/dsa.c')
-rw-r--r-- | cipher/dsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/dsa.c b/cipher/dsa.c index 19a59d909..46484c1e9 100644 --- a/cipher/dsa.c +++ b/cipher/dsa.c @@ -150,7 +150,7 @@ generate( DSA_secret_key *sk, unsigned nbits, MPI **ret_factors ) * is the secret part. */ if( DBG_CIPHER ) log_debug("choosing a random x "); - assert( qbits >= 16 ); + assert( qbits >= 160 ); x = mpi_alloc_secure( mpi_get_nlimbs(q) ); mpi_sub_ui( h, q, 1 ); /* put q-1 into h */ rndbuf = NULL; |