summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authoredg <edg@mit.edu>1990-04-06 13:50:14 +0000
committeredg <edg@mit.edu>1990-04-06 13:50:14 +0000
commit8eb86d5211a6c26bcd0e73390cc7ca68e66f6f42 (patch)
treec7a29de25b343585aae967b6776411fb0263a6fc /src/lib
parent7e1a0963a9ef15e110fcdc8b6d5bc646c9fca231 (diff)
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
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/rd_priv.c4
1 files 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 <krb5/libos-proto.h>
#include <krb5/ext-proto.h>
-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 */