Skip to content

Commit

Permalink
Fixed linux build.
Browse files Browse the repository at this point in the history
  • Loading branch information
erhardgrishaber committed Jun 18, 2019
1 parent d00b3d4 commit a2a6462
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ualds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit a2a6462

Please sign in to comment.