From 720408d3b8830e636b9fadbed041b2875d82526b Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Apr 1991 13:51:09 +0000 Subject: [PATCH] don't bother checking key->priv; the spec says you gotta prepare first, and we don't have an error code for it anyway. /. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2004 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/krb_glue.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/crypto/des/krb_glue.c b/src/lib/crypto/des/krb_glue.c index 3396d96ae..a85b8ed90 100644 --- a/src/lib/crypto/des/krb_glue.c +++ b/src/lib/crypto/des/krb_glue.c @@ -76,7 +76,6 @@ OLDDECLARG(krb5_pointer, ivec) else iv = (krb5_octet *)ivec; - /* XXX should check that key sched is valid here? */ return (mit_des_cbc_encrypt((krb5_octet *)in, (krb5_octet *)out, size, @@ -118,7 +117,6 @@ OLDDECLARG(krb5_pointer, ivec) else iv = (krb5_octet *)ivec; - /* XXX should check that key sched is valid here? */ return (mit_des_cbc_encrypt ((krb5_octet *)in, (krb5_octet *)out, size, -- 2.26.2