Generating an OpenPGP key cia gpg-agent basically works.
[gnupg.git] / g10 / pubkey-enc.c
index fedf4d9..b904c79 100644 (file)
@@ -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