From 7026fd69fb05d7a8a5f4b0c6d109da63d1f77aa3 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 5 Nov 2023 15:40:36 +0100 Subject: [PATCH] pedantic fix --- client/src/emv/emv_pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/emv/emv_pki.c b/client/src/emv/emv_pki.c index 17eb7e0ea..8f430e290 100644 --- a/client/src/emv/emv_pki.c +++ b/client/src/emv/emv_pki.c @@ -37,7 +37,7 @@ void PKISetStrictExecution(bool se) { strictExecution = se; } -static const unsigned char empty_tlv_value[] = {}; +static const unsigned char empty_tlv_value[] = {0}; static const struct tlv empty_tlv = {.tag = 0x0, .len = 0, .value = empty_tlv_value}; static size_t emv_pki_hash_psn[256] = { 0, 0, 11, 2, 17, 2, };