summaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-10-06 14:28:44 +0200
committerWerner Koch <wk@gnupg.org>2000-10-06 14:28:44 +0200
commit14974bc5d70604577b7088a39e7eb175cafd418a (patch)
treeae5aa26daa1342b77a7ceb0f0295950dff3b3557 /g10/keygen.c
parentSee ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch (diff)
downloadgnupg2-14974bc5d70604577b7088a39e7eb175cafd418a.tar.xz
gnupg2-14974bc5d70604577b7088a39e7eb175cafd418a.zip
See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner Koch
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 ef0064fc7..d3887dd7d 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1752,9 +1752,9 @@ do_generate_keypair( struct para_data_s *para,
log_error("can't lock public keyring: %s\n", gpg_errstr(rc) );
else if( (rc=rc2=lock_keyblock( &sec_kbpos )) )
log_error("can't lock secret keyring: %s\n", gpg_errstr(rc) );
- else if( (rc=insert_keyblock( &pub_kbpos, pub_root )) )
+ else if( (rc=insert_keyblock( pub_root )) )
log_error("can't write public key: %s\n", gpg_errstr(rc) );
- else if( (rc=insert_keyblock( &sec_kbpos, sec_root )) )
+ else if( (rc=insert_keyblock( sec_root )) )
log_error("can't write secret key: %s\n", gpg_errstr(rc) );
else {
if( !opt.batch )