diff options
| author | TBK <tbk@jjtc.eu> | 2020-02-24 18:35:44 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-25 00:28:19 -0300 |
| commit | 0c56e1ab886a845676c55549ca2cf2cbf1c09eb5 (patch) | |
| tree | a0a93e73030a937c95e783674225da6caec52c37 /main/libmcrypt/fix_enigma.patch | |
| parent | c60d3ffc9c3156e3c974a204002802cc075e1674 (diff) | |
| download | aports-0c56e1ab886a845676c55549ca2cf2cbf1c09eb5.tar.bz2 aports-0c56e1ab886a845676c55549ca2cf2cbf1c09eb5.tar.xz | |
main/libmcrypt: modernize
Diffstat (limited to 'main/libmcrypt/fix_enigma.patch')
| -rw-r--r-- | main/libmcrypt/fix_enigma.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/libmcrypt/fix_enigma.patch b/main/libmcrypt/fix_enigma.patch new file mode 100644 index 0000000000..bdcff7cfbe --- /dev/null +++ b/main/libmcrypt/fix_enigma.patch @@ -0,0 +1,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; +
\ No newline at end of file |
