Use des_int.h and fix compiler rumblings
authorPaul Park <pjpark@mit.edu>
Thu, 27 Jul 1995 19:47:55 +0000 (19:47 +0000)
committerPaul Park <pjpark@mit.edu>
Thu, 27 Jul 1995 19:47:55 +0000 (19:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6344 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/des/destest.c

index 46008f6f1e00f3b5bda5ebe00bc4c6fcbe33bfdd..084abc44041e3b8744a130550fe48b2895cba00e 100644 (file)
@@ -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)) {