aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-07-21 12:53:38 +0000
committerWerner Koch <[email protected]>1998-07-21 12:53:38 +0000
commit1a80de41a5f5e753c427872f8ab6ee5a844ea761 (patch)
tree8d5312c6f56c54dc6092556b8569b16b22e4d8fe /g10/keygen.c
parentsync (diff)
downloadgnupg-1a80de41a5f5e753c427872f8ab6ee5a844ea761.tar.gz
gnupg-1a80de41a5f5e753c427872f8ab6ee5a844ea761.zip
changed trustdb design
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index b114b8444..0eaeafeae 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -371,7 +371,7 @@ check_valid_days( const char *s )
/****************
- * Returns o to create both a DSA and a ElGamal key.
+ * Returns: 0 to create both a DSA and a ElGamal key.
*/
static int
ask_algo( int *ret_v4, int addmode )
@@ -756,7 +756,7 @@ generate_keypair()
algo = ask_algo( &v4, 0 );
if( !algo ) {
- algo = PUBKEY_ALGO_ELGAMAL;
+ algo = PUBKEY_ALGO_ELGAMAL_E;
both = 1;
tty_printf(_("DSA keypair will have 1024 bits.\n"));
}