diff options
author | Werner Koch <wk@gnupg.org> | 2004-02-03 17:24:37 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-02-03 17:24:37 +0100 |
commit | 31de2267ec849cd8f269cd8bf25b8590f2d93e1d (patch) | |
tree | 3214ee9345c70ecc1d8c7ca74fad22b5d574ac5c /agent/pkdecrypt.c | |
parent | * keybox.h (keybox_flag_t): New. (diff) | |
download | gnupg2-31de2267ec849cd8f269cd8bf25b8590f2d93e1d.tar.xz gnupg2-31de2267ec849cd8f269cd8bf25b8590f2d93e1d.zip |
* findkey.c (agent_key_from_file): Extra paranoid wipe.
* protect.c (agent_unprotect): Ditto.
(merge_lists): Ditto. Add arg RESULTLEN.
* pkdecrypt.c (agent_pkdecrypt): Don't show the secret key even in
debug mode.
* protect.c: Add DSA and Elgamal description.
Diffstat (limited to 'agent/pkdecrypt.c')
-rw-r--r-- | agent/pkdecrypt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/agent/pkdecrypt.c b/agent/pkdecrypt.c index cc3a2f33f..72f81778e 100644 --- a/agent/pkdecrypt.c +++ b/agent/pkdecrypt.c @@ -93,12 +93,12 @@ agent_pkdecrypt (CTRL ctrl, const char *ciphertext, size_t ciphertextlen, putc (0, outfp); } else - { /* no smartcard, but a private key */ - if (DBG_CRYPTO) - { - log_debug ("skey: "); - gcry_sexp_dump (s_skey); - } + { /* No smartcard, but a private key */ +/* if (DBG_CRYPTO ) */ +/* { */ +/* log_debug ("skey: "); */ +/* gcry_sexp_dump (s_skey); */ +/* } */ rc = gcry_pk_decrypt (&s_plain, s_cipher, s_skey); if (rc) |