aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-07-04 07:26:10 +0000
committerWerner Koch <[email protected]>2023-07-04 07:26:55 +0000
commit7a2831bc0ef00559d2a2b938e0f2401f0e35d30a (patch)
treef9ca84886b09c5f7f007365c42fc499307df7c29
parentcommon,w32: Add missing GetLastError->errno mapping. (diff)
downloadgnupg-7a2831bc0ef00559d2a2b938e0f2401f0e35d30a.tar.gz
gnupg-7a2831bc0ef00559d2a2b938e0f2401f0e35d30a.zip
gpgsm: Init a diagnostic var.
* sm/minip12.c (p12_parse): Init where. --
-rw-r--r--sm/minip12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/minip12.c b/sm/minip12.c
index eafebfe67..265243f3e 100644
--- a/sm/minip12.c
+++ b/sm/minip12.c
@@ -2348,7 +2348,7 @@ p12_parse (const unsigned char *buffer, size_t length, const char *pw,
void *certcbarg, int *r_badpass, char **r_curve)
{
gpg_error_t err;
- const char *where;
+ const char *where = "";
struct tlv_ctx_s *tlv;
struct p12_parse_ctx_s ctx = { NULL };
const unsigned char *oid;