Skip to content

Commit

Permalink
pkcs15-init.c - fix memory leak or RSA exponent
Browse files Browse the repository at this point in the history
 On branch X25519-improvements-2
 Changes to be committed:
	modified:   src/tools/pkcs15-init.c
  • Loading branch information
dengert committed Aug 28, 2024
1 parent 90dcfc7 commit 109a3cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/pkcs15-init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ do_store_public_key(struct sc_profile *profile, EVP_PKEY *pkey)
sc_pkcs15_erase_pubkey(&(args.key));
sc_unlock(g_p15card->card);
}
sc_pkcs15_erase_pubkey(&(args.key));

return r;
}
Expand Down

0 comments on commit 109a3cc

Please sign in to comment.