aboutsummaryrefslogtreecommitdiffstats
path: root/g10/seckey-cert.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-10-04 16:45:04 +0000
committerWerner Koch <[email protected]>2006-10-04 16:45:04 +0000
commit8684a78518691a9d033a8af2d743b8d2fa9d2351 (patch)
tree1e2ace515eb108ef7c191f008582cdd282d15ec2 /g10/seckey-cert.c
parentPreparing a new release (diff)
downloadgnupg-8684a78518691a9d033a8af2d743b8d2fa9d2351.tar.gz
gnupg-8684a78518691a9d033a8af2d743b8d2fa9d2351.zip
Fixed agent access for gpg.
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 ad5b75603..a059aa00f 100644
--- a/g10/seckey-cert.c
+++ b/g10/seckey-cert.c
@@ -284,7 +284,7 @@ check_secret_key( PKT_secret_key *sk, int n )
mode=0;
if( n < 1 )
- n = (opt.batch && !opt.use_agent)? 1 : 3; /* use the default value */
+ n = 3; /* Use the default value */
for(i=0; i < n && gpg_err_code (rc) == GPG_ERR_BAD_PASSPHRASE; i++ ) {
int canceled = 0;