From 8eb86d5211a6c26bcd0e73390cc7ca68e66f6f42 Mon Sep 17 00:00:00 2001 From: edg Date: Fri, 6 Apr 1990 13:50:14 +0000 Subject: [PATCH] changed error code for invalid encryption type removed initialization of krb5_clockskew git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@466 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/rd_priv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/krb/rd_priv.c b/src/lib/krb5/krb/rd_priv.c index c0b50eff1..290f1af53 100644 --- a/src/lib/krb5/krb/rd_priv.c +++ b/src/lib/krb5/krb/rd_priv.c @@ -26,7 +26,7 @@ static char rd_priv_c[] = #include #include -extern krb5_deltat krb5_clockskew = 100; /* temporary assingment for debugging */ +extern krb5_deltat krb5_clockskew; #define in_clock_skew(date) (abs((date)-currenttime) < krb5_clockskew) krb5_error_code @@ -57,7 +57,7 @@ OLDDECLARG(krb5_data *, outbuf) #define cleanup_privmsg() {(void)xfree(privmsg->enc_part.data); (void)xfree(privmsg);} if (!valid_etype(privmsg->etype)) { cleanup_privmsg(); - return KRB5KRB_AP_ERR_MODIFIED; /* XXX */ + return KRB5_PROG_ETYPE_NOSUPP; /* XXX */ } /* put together an eblock for this decryption */ -- 2.26.2