From 5d938c500a6c37b97c80d7cb3f7435114090e291 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 13 Nov 2023 10:35:13 +0100 Subject: Tabs -> Spaces --- src/SFileVerify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SFileVerify.cpp') diff --git a/src/SFileVerify.cpp b/src/SFileVerify.cpp index 3748918..9bbbb6b 100644 --- a/src/SFileVerify.cpp +++ b/src/SFileVerify.cpp @@ -863,7 +863,7 @@ DWORD SSignFileFinish(TMPQArchive * ha) // Sign the hash memset(WeakSignature, 0, sizeof(WeakSignature)); rsa_sign_hash_ex(Md5Digest, sizeof(Md5Digest), WeakSignature + 8, &signature_len, LTC_LTC_PKCS_1_V1_5, 0, 0, hash_idx, 0, &key); - memrev(WeakSignature + 8, MPQ_WEAK_SIGNATURE_SIZE); + memrev(WeakSignature + 8, MPQ_WEAK_SIGNATURE_SIZE); rsa_free(&key); // Write the signature to the MPQ. Don't use SFile* functions, but write the hash directly -- cgit v1.2.3