summaryrefslogtreecommitdiffstats
path: root/g10/seckey-cert.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-07-12 14:57:54 +0200
committerWerner Koch <wk@gnupg.org>1999-07-12 14:57:54 +0200
commit8be0d60594153ee058acbfae91efc0d4d1b17e12 (patch)
tree07e7e5f3b397c351bca6931578cc19498be60e73 /g10/seckey-cert.c
parentSee ChangeLog: Thu Jul 8 16:21:27 CEST 1999 Werner Koch (diff)
downloadgnupg2-8be0d60594153ee058acbfae91efc0d4d1b17e12.tar.xz
gnupg2-8be0d60594153ee058acbfae91efc0d4d1b17e12.zip
See ChangeLog: Mon Jul 12 14:55:34 CEST 1999 Werner Koch
Diffstat (limited to 'g10/seckey-cert.c')
-rw-r--r--g10/seckey-cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/seckey-cert.c b/g10/seckey-cert.c
index 95af40b78..a8fae04d6 100644
--- a/g10/seckey-cert.c
+++ b/g10/seckey-cert.c
@@ -164,7 +164,7 @@ check_secret_key( PKT_secret_key *sk, int n )
int i;
if( n < 1 )
- n = 3; /* use the default value */
+ n = opt.batch? 1 : 3; /* use the default value */
for(i=0; i < n && rc == G10ERR_BAD_PASS; i++ ) {
if( i )