aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pubkey-enc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-20 17:57:50 +0000
committerWerner Koch <[email protected]>2010-04-20 17:57:50 +0000
commit21b0a955be63dc69625194ece8557e79b6ad60c2 (patch)
tree97de4727b46f1f2b5dac30142e5a408c898d48fc /g10/pubkey-enc.c
parentAdd missing file. (diff)
downloadgnupg-21b0a955be63dc69625194ece8557e79b6ad60c2.tar.gz
gnupg-21b0a955be63dc69625194ece8557e79b6ad60c2.zip
Generating an OpenPGP key cia gpg-agent basically works.
Diffstat (limited to 'g10/pubkey-enc.c')
-rw-r--r--g10/pubkey-enc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/pubkey-enc.c b/g10/pubkey-enc.c
index fedf4d9a9..b904c7976 100644
--- a/g10/pubkey-enc.c
+++ b/g10/pubkey-enc.c
@@ -114,10 +114,10 @@ get_session_key( PKT_pubkey_enc *k, DEK *dek )
xfree(p);
}
- rc = check_secret_key( sk, opt.try_all_secrets?1:-1 ); /* ask
- only
- once */
- if( !rc )
+ /* rc = check_secret_key( sk, opt.try_all_secrets?1:-1 ); /\* ask */
+ /* only */
+ /* once *\/ */
+ /* if( !rc ) */
{
rc = get_it( k, dek, sk, keyid );
/* Successfully checked the secret key (either it was