From a2a646226ae1227d5a72211801c6091cf5465d05 Mon Sep 17 00:00:00 2001 From: erhardgrishaber Date: Tue, 18 Jun 2019 10:12:26 +0300 Subject: [PATCH] Fixed linux build. --- ualds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ualds.c b/ualds.c index d360796..96df81d 100644 --- a/ualds.c +++ b/ualds.c @@ -1772,7 +1772,8 @@ void print_failed_certificate_vaidation(OpcUa_StatusCode uaStatusCode, OpcUa_Byt OpcUa_MemSet(certificateThumbPrint, 0, sizeof(char)* thumbPrint.Length * 3); int certificateThumbPrintBytes = 0; - for (OpcUa_Int32 i = 0; i < thumbPrint.Length; i++) + OpcUa_Int32 i = 0; + for (i = 0; i < thumbPrint.Length; i++) { char byteStr[3]; sprintf(&byteStr[0], "%02x", thumbPrint.Data[i]);