1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/libmcrypt/fix_enigma.patch
2020-03-29 15:55:32 +00:00

21 lines
No EOL
546 B
Diff

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;