aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c
diff options
context:
space:
mode:
authorAndrey Jivsov <[email protected]>2011-01-11 04:24:14 +0000
committerAndrey Jivsov <[email protected]>2011-01-11 04:24:14 +0000
commit5761a9ba74e41f52660e20a1de700fe784c97832 (patch)
tree801bdb9203e0426dfc351399db679cce7920bde6 /g10/call-agent.c
parentFix bug #1311. (diff)
downloadgnupg-5761a9ba74e41f52660e20a1de700fe784c97832.tar.gz
gnupg-5761a9ba74e41f52660e20a1de700fe784c97832.zip
'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 --debug 15 _e.asc', as well as decoding of an old message posted on https://sites.google.com/site/brainhub/pgpecckeys work.
This is the milestone 2 that brings in ECDH support from http://code.google.com/p/gnupg-ecc/source/detail?r=15 . This corresponds to the commit 899386826c85f1e757e75bcc5d5b2159d05676a0 in libgcrypt
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r--g10/call-agent.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index 25f9a537e..dc2ace0e5 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -1744,7 +1744,6 @@ inq_ciphertext_cb (void *opaque, const char *line)
gpg_error_t
agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
gcry_sexp_t s_ciphertext,
- const byte sk_fp[MAX_FINGERPRINT_LEN],
unsigned char **r_buf, size_t *r_buflen)
{
gpg_error_t err;
@@ -1753,8 +1752,6 @@ agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
size_t n, len;
char *p, *buf, *endp;
- /*TODO: use sk_fp */
-
if (!keygrip || strlen(keygrip) != 40 || !s_ciphertext || !r_buf || !r_buflen)
return gpg_error (GPG_ERR_INV_VALUE);
*r_buf = NULL;