Skip to content
Snippets Groups Projects
Commit 7d459763 authored by Tim Ruehsen's avatar Tim Ruehsen Committed by Niels Möller
Browse files

Deleted some unused variables.

parent dde1dbd4
Branches
Tags
No related merge requests found
2012-09-10 Niels Möller <nisse@lysator.liu.se> 2012-09-10 Niels Möller <nisse@lysator.liu.se>
* 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 <nisse@lysator.liu.se> 2012-09-07 Niels Möller <nisse@lysator.liu.se>
......
...@@ -246,7 +246,6 @@ pgp_put_rsa_sha1_signature(struct nettle_buffer *buffer, ...@@ -246,7 +246,6 @@ pgp_put_rsa_sha1_signature(struct nettle_buffer *buffer,
unsigned hash_end; unsigned hash_end;
unsigned sub_packet_start; unsigned sub_packet_start;
uint8_t trailer[6]; uint8_t trailer[6];
uint8_t digest16[2];
mpz_t s; mpz_t s;
/* Signature packet. The packet could reasonably be both smaller and /* Signature packet. The packet could reasonably be both smaller and
......
...@@ -64,7 +64,6 @@ rsa_keypair_to_openpgp(struct nettle_buffer *buffer, ...@@ -64,7 +64,6 @@ rsa_keypair_to_openpgp(struct nettle_buffer *buffer,
time_t now = time(NULL); time_t now = time(NULL);
unsigned key_start; unsigned key_start;
unsigned key_length;
unsigned userid_start; unsigned userid_start;
struct sha1_ctx key_hash; struct sha1_ctx key_hash;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment