Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2373 c6295689-39f2-0310-b995-f0e70906c6a9
  • Loading branch information
nils committed Jul 1, 2005
1 parent 3bbc9db commit dc1a5b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pkcs15init/pkcs15-etoken.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ etoken_generate_key(sc_profile_t *profile, sc_card_t *card,
struct sc_cardctl_etoken_genkey_info args;
struct sc_file *temp;
u8 abignum[RSAKEY_MAX_SIZE];
u8 randbuf[64];
unsigned int keybits;
int algorithm, r, delete_it = 0;

Expand Down Expand Up @@ -341,7 +340,6 @@ etoken_generate_key(sc_profile_t *profile, sc_card_t *card,
args.key_bits = keybits;
args.fid = temp->id;
r = sc_card_ctl(card, SC_CARDCTL_ETOKEN_GENERATE_KEY, &args);
memset(randbuf, 0, sizeof(randbuf));
if (r < 0)
goto out;

Expand Down

0 comments on commit dc1a5b6

Please sign in to comment.