Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
security
john
s390x-upstream.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File s390x-upstream.patch of Package john
From e90800f8000b502fa8d2d687df8a405749351523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claudio=20Andr=C3=A9?= <claudioandre.br@gmail.com> Date: Tue, 12 Oct 2021 11:41:12 -0300 Subject: [PATCH] S390 --- src/opencl_pbkdf2_hmac_sha1_fmt_plug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opencl_pbkdf2_hmac_sha1_fmt_plug.c b/src/opencl_pbkdf2_hmac_sha1_fmt_plug.c index 23987a934..7eb3de333 100644 --- a/src/opencl_pbkdf2_hmac_sha1_fmt_plug.c +++ b/src/opencl_pbkdf2_hmac_sha1_fmt_plug.c @@ -226,7 +226,7 @@ static void *get_binary(char *ciphertext) unsigned char *out = pbkdf2_hmac_sha1_binary(ciphertext); #if !ARCH_LITTLE_ENDIAN char *p = strrchr(ciphertext, '$') + 1; - int len = strlen(p) / 2; + int i, len = strlen(p) / 2; for (i = 0; i < len / sizeof(uint32_t); ++i) { ((uint32_t*)out)[i] = JOHNSWAP(((uint32_t*)out)[i]); } -- 2.25.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor