summaryrefslogtreecommitdiffstats
path: root/g10/pkglue.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-03 16:31:42 +0100
committerWerner Koch <wk@gnupg.org>2011-02-03 16:35:33 +0100
commit0b5bcb40cf17a0e1032c113af6024c08b47d7a5c (patch)
tree6196c497d9734a6a022dd713df373416d2f9f067 /g10/pkglue.c
parentCompute the fingerprint for ECDH only on demand. (diff)
downloadgnupg2-0b5bcb40cf17a0e1032c113af6024c08b47d7a5c.tar.xz
gnupg2-0b5bcb40cf17a0e1032c113af6024c08b47d7a5c.zip
Finished ECC integration.
Wrote the ChangeLog 2011-01-13 entry for Andrey's orginal work modulo the cleanups I did in the last week. Adjusted my own ChangeLog entries to be consistent with that entry. Nuked quite some trailing spaces; again sorry for that, I will better take care of not saving them in the future. "git diff -b" is useful to read the actual changes ;-). The ECC-INTEGRATION-2-1 branch can be closed now.
Diffstat (limited to 'g10/pkglue.c')
-rw-r--r--g10/pkglue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/pkglue.c b/g10/pkglue.c
index 836c2c3e2..05f7167c2 100644
--- a/g10/pkglue.c
+++ b/g10/pkglue.c
@@ -184,8 +184,6 @@ pk_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data,
{
gcry_mpi_t k;
char *curve;
- byte fp[MAX_FINGERPRINT_LEN];
- size_t fpn;
rc = pk_ecdh_generate_ephemeral_key (pkey, &k);
if (rc)