From: edg Date: Fri, 6 Apr 1990 13:50:14 +0000 (+0000) Subject: changed error code for invalid encryption type X-Git-Tag: krb5-1.0-alpha2~929 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8eb86d5211a6c26bcd0e73390cc7ca68e66f6f42;p=krb5.git 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 --- 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 */