diff options
author | Werner Koch <wk@gnupg.org> | 1999-09-06 22:21:20 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-09-06 22:21:20 +0200 |
commit | 1fb1323d174dd2f9c15f26c1793518e9deb17df7 (patch) | |
tree | 832b5aa2fc7584e7926ca3cee2f1137e58cd275f | |
parent | See ChangeLog: Mon Sep 6 19:59:08 CEST 1999 Werner Koch (diff) | |
download | gnupg2-1fb1323d174dd2f9c15f26c1793518e9deb17df7.tar.xz gnupg2-1fb1323d174dd2f9c15f26c1793518e9deb17df7.zip |
Sorry, I broke des.c
-rw-r--r-- | cipher/des.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cipher/des.c b/cipher/des.c index 18bc10a28..6e6674923 100644 --- a/cipher/des.c +++ b/cipher/des.c @@ -826,11 +826,12 @@ selftest (void) return "TRIPLE-DES test failed."; } + #if 0 /* * More Triple-DES test. These are testvectors as used by SSLeay, * thanks to Jeroen C. van Gelderen. */ - { struct { byte key[24], byte plain[8], byte cipher[8] } testdata[] = { + { struct { byte key[24]; byte plain[8]; byte cipher[8]; } testdata[] = { { { 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01 }, @@ -895,6 +896,7 @@ selftest (void) }; /* fixme: do the test */ } + #endif /* * Check the weak key detection. We simply assume the table with |