summaryrefslogtreecommitdiff
path: root/dev-libs/botan/files/botan-1.10.17-build.patch
blob: 43877972211a68e4b6f658f0748db6677352d422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From c7963d28d03e5f65f4021a5b764dc4bff9417eda Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Wed, 4 Oct 2017 01:50:33 +0300
Subject: [PATCH] gost_3411: use correct type for build to pass

---
 src/hash/gost_3411/gost_3411.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hash/gost_3411/gost_3411.cpp b/src/hash/gost_3411/gost_3411.cpp
index 97aa399..7ca22dc 100644
--- a/src/hash/gost_3411/gost_3411.cpp
+++ b/src/hash/gost_3411/gost_3411.cpp
@@ -91,7 +91,7 @@ void GOST_34_11::compress_n(const byte input[], size_t blocks)
          // P transformation
          for(size_t k = 0; k != 4; ++k)
             {
-            const uint64_t UVk = U[k] ^ V[k];
+            const u64bit UVk = U[k] ^ V[k];
             for(size_t l = 0; l != 8; ++l)
                key[4*l+k] = get_byte(l, UVk);
             }
-- 
2.13.6