diff options
Diffstat (limited to 'g10/keygen.c')
-rw-r--r-- | g10/keygen.c | 4 |
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")); } |