From: Tim Ruehsen Date: Mon, 10 Sep 2012 07:19:27 +0000 (+0200) Subject: Deleted some unused variables. X-Git-Tag: nettle_2.6_release_20130116~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d459763371fb4b78255a01b0e11b6f26f5b95d0;p=thirdparty%2Fnettle.git Deleted some unused variables. --- diff --git a/ChangeLog b/ChangeLog index 0e1fe2d9..8207498f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ 2012-09-10 Niels Möller - * examples/base16enc.c (main): Deleted useless allocations. Patch - from Tim Rühsen. + From Tim Rühsen: + * pgp-encode.c (pgp_put_rsa_sha1_signature): Deleted unused variable. + * rsa2openpgp.c (rsa_keypair_to_openpgp): Likewise. + * examples/base16enc.c (main): Deleted useless allocations. 2012-09-07 Niels Möller diff --git a/pgp-encode.c b/pgp-encode.c index 9a699227..f84373c0 100644 --- a/pgp-encode.c +++ b/pgp-encode.c @@ -246,7 +246,6 @@ pgp_put_rsa_sha1_signature(struct nettle_buffer *buffer, unsigned hash_end; unsigned sub_packet_start; uint8_t trailer[6]; - uint8_t digest16[2]; mpz_t s; /* Signature packet. The packet could reasonably be both smaller and diff --git a/rsa2openpgp.c b/rsa2openpgp.c index c4666f33..4c62f495 100644 --- a/rsa2openpgp.c +++ b/rsa2openpgp.c @@ -64,7 +64,6 @@ rsa_keypair_to_openpgp(struct nettle_buffer *buffer, time_t now = time(NULL); unsigned key_start; - unsigned key_length; unsigned userid_start; struct sha1_ctx key_hash;