aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmcrypt/fix_enigma.patch
blob: bdcff7cfbeb18e0d091d6e1447e9f3c6c801e860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917203

--- src/modules/algorithms/enigma.h.orig	2002-03-09 21:17:08.000000000 +0100
+++ src/modules/algorithms/enigma.h	2019-04-07 13:54:03.000000000 +0200
@@ -3,11 +3,11 @@
 #define MASK 0377
 
 typedef struct crypt_key {
-	char t1[ROTORSZ];
-	char t2[ROTORSZ];
-	char t3[ROTORSZ];
-	char deck[ROTORSZ];
-	char cbuf[13];
+	signed char t1[ROTORSZ];
+	signed char t2[ROTORSZ];
+	signed char t3[ROTORSZ];
+	signed char deck[ROTORSZ];
+	signed char cbuf[13];
 	int n1, n2, nr1, nr2;
 } CRYPT_KEY;