mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Sorry, I broke des.c
This commit is contained in:
parent
4a3291c4db
commit
1fb1323d17
@ -826,11 +826,12 @@ selftest (void)
|
|||||||
return "TRIPLE-DES test failed.";
|
return "TRIPLE-DES test failed.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* More Triple-DES test. These are testvectors as used by SSLeay,
|
* More Triple-DES test. These are testvectors as used by SSLeay,
|
||||||
* thanks to Jeroen C. van Gelderen.
|
* 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,
|
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 */
|
/* fixme: do the test */
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check the weak key detection. We simply assume the table with
|
* Check the weak key detection. We simply assume the table with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user