From 39d1fa9b93016ef9deb88c10c5549f5a2161781d Mon Sep 17 00:00:00 2001 From: thotmx Date: Fri, 31 May 2024 01:20:43 -0600 Subject: [PATCH] Fix compilation error --- src_OpenCL/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_OpenCL/utils.c b/src_OpenCL/utils.c index 7ac3c93..cb8e3f4 100755 --- a/src_OpenCL/utils.c +++ b/src_OpenCL/utils.c @@ -183,7 +183,7 @@ int parse_data(char *input_hash, unsigned char ** salt, unsigned char ** nonce, for (i = 0, j = 0; i < MAC_SIZE*2; i+=2, j++) { (*mac)[j] = (p[i] <= '9' ? p[i] - '0' : toupper(p[i]) - 'A' + 10) << 4; - (*mac)[j] |= p[i+1] <= '9' ? p[i+1] - '0' : toupper(p[i+1]) - 'A' + 10; } + (*mac)[j] |= p[i+1] <= '9' ? p[i+1] - '0' : toupper(p[i+1]) - 'A' + 10; } if(mac_comparison == 1 && !memcmp((*mac), zero_string, MAC_SIZE))