+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
+ * verify.c (do_decrypt, do_encrypt): Cast argument to
+ des_ecb_encrypt to unsigned long *.
+
2001-05-31 Ezra Peisach <epeisach@mit.edu>
* des.c (des_ecb_encrypt): Do not use a variable named "encrypt".
unsigned char *out;
{
for (i =1; i<=nflag; i++) {
- des_ecb_encrypt(in,out,KS,1);
+ des_ecb_encrypt((unsigned long *) in, (unsigned long *)out, KS, 1);
if (des_debug) {
printf("\nclear %s\n",in);
for (j = 0; j<=7; j++)
/* try to invert it */
{
for (i =1; i<=nflag; i++) {
- des_ecb_encrypt(out,in,KS,0);
+ des_ecb_encrypt((unsigned long *) out, (unsigned long *)in,KS,0);
if (des_debug) {
printf("clear %s\n",in);
for (j = 0; j<=7; j++)