From 4d7d44eff008cba1d54a82a69c49fa3c9c6bce6b Mon Sep 17 00:00:00 2001 From: Paul Park Date: Thu, 27 Jul 1995 19:47:55 +0000 Subject: [PATCH] Use des_int.h and fix compiler rumblings git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6344 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/destest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/crypto/des/destest.c b/src/lib/crypto/des/destest.c index 46008f6f1..084abc440 100644 --- a/src/lib/crypto/des/destest.c +++ b/src/lib/crypto/des/destest.c @@ -26,6 +26,7 @@ #include "k5-int.h" +#include "des_int.h" #include "com_err.h" extern int errno; @@ -71,7 +72,7 @@ char *argv[]; com_err("des test", retval, "can't process key"); exit(-1); } - mit_des_ecb_encrypt(input, output2, + mit_des_ecb_encrypt(&input, &output2, (struct mit_des_ks_struct *)eblock.priv,1); if (memcmp((char *)output2, (char *)output, 8)) { @@ -86,7 +87,7 @@ char *argv[]; /* * Now try decrypting.... */ - mit_des_ecb_encrypt(output, output2, + mit_des_ecb_encrypt(&output, &output2, (struct mit_des_ks_struct *)eblock.priv,0); if (memcmp((char *)output2, (char *)input, 8)) { -- 2.26.2