summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/des/verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/des/verify.c')
-rw-r--r--src/lib/crypto/des/verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/crypto/des/verify.c b/src/lib/crypto/des/verify.c
index 7ae08c763..117d18804 100644
--- a/src/lib/crypto/des/verify.c
+++ b/src/lib/crypto/des/verify.c
@@ -148,9 +148,9 @@ main(argc,argv)
/* do some initialisation */
initialize_krb5_error_table();
- krb5_use_enctype(context, &eblock, ENCTYPE_DES_CBC_CRC);
- keyblock.enctype = ENCTYPE_DES_CBC_CRC;
- keyblock.length = sizeof(mit_des_cblock);
+ krb5_use_cstype(context, &eblock, ETYPE_DES_CBC_CRC);
+ keyblock.keytype = KEYTYPE_DES;
+ keyblock.length = sizeof (mit_des_cblock);
/* use known input and key */