1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-07 23:27:48 +02:00

gpgsm: Init a diagnostic var.

* sm/minip12.c (p12_parse): Init where.
--
This commit is contained in:
Werner Koch 2023-07-04 09:26:10 +02:00
parent 5e94470d05
commit 7a2831bc0e
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -2348,7 +2348,7 @@ p12_parse (const unsigned char *buffer, size_t length, const char *pw,
void *certcbarg, int *r_badpass, char **r_curve) void *certcbarg, int *r_badpass, char **r_curve)
{ {
gpg_error_t err; gpg_error_t err;
const char *where; const char *where = "";
struct tlv_ctx_s *tlv; struct tlv_ctx_s *tlv;
struct p12_parse_ctx_s ctx = { NULL }; struct p12_parse_ctx_s ctx = { NULL };
const unsigned char *oid; const unsigned char *oid;