summaryrefslogtreecommitdiff
path: root/cipher/des.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-09-06 20:21:20 +0000
committerWerner Koch <wk@gnupg.org>1999-09-06 20:21:20 +0000
commit3a22292aa069a63ecd0dc539f66b444bb093bacf (patch)
treed339b6db01f618a98eba18c133f6213bc087c860 /cipher/des.c
parent8843f7c79fadece4b25518f04e320de1910103c6 (diff)
downloadlibgcrypt-3a22292aa069a63ecd0dc539f66b444bb093bacf.tar.gz
Sorry, I broke des.c
Diffstat (limited to 'cipher/des.c')
-rw-r--r--cipher/des.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cipher/des.c b/cipher/des.c
index 18bc10a2..6e667492 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