From 1fb1323d174dd2f9c15f26c1793518e9deb17df7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 6 Sep 1999 20:21:20 +0000 Subject: Sorry, I broke des.c --- cipher/des.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3