summaryrefslogtreecommitdiff
path: root/kerberosIV/krb/create_auth_reply.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1998-07-07 19:07:54 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1998-07-07 19:07:54 +0000
commit2c72f3a8d04a2ea4da31f5a47625c62b8ba739d7 (patch)
treec7ab59821bbc3a36b988b969944a39054e97c1bc /kerberosIV/krb/create_auth_reply.c
parent73c972324f8b5dbb9d11f200702505800280fc3c (diff)
upgrade libkrb to 0.9.9
Diffstat (limited to 'kerberosIV/krb/create_auth_reply.c')
-rw-r--r--kerberosIV/krb/create_auth_reply.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/kerberosIV/krb/create_auth_reply.c b/kerberosIV/krb/create_auth_reply.c
index 0ad7fda733a..0178ebaf897 100644
--- a/kerberosIV/krb/create_auth_reply.c
+++ b/kerberosIV/krb/create_auth_reply.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: create_auth_reply.c,v 1.3 1997/12/09 07:57:11 art Exp $ */
+/* $OpenBSD: create_auth_reply.c,v 1.4 1998/07/07 19:06:44 art Exp $ */
/* $KTH: create_auth_reply.c,v 1.11 1997/04/01 08:18:20 joda Exp $ */
/*
@@ -100,16 +100,11 @@ create_auth_reply(char *pname, /* Principal's name */
unsigned char *p = pkt->dat;
- p += krb_put_int(KRB_PROT_VERSION, p, 1);
- p += krb_put_int(AUTH_MSG_KDC_REPLY, p, 1);
-
- if(n != 0){
- /* barf on old code */
- krb_warning("create_auth_reply: don't give me no krb3 crap!"
- " (n == %d)\n", n);
+ if(n != 0)
return NULL;
- }
+ p += krb_put_int(KRB_PROT_VERSION, p, 1);
+ p += krb_put_int(AUTH_MSG_KDC_REPLY, p, 1);
p += krb_put_nir(pname, pinst, prealm, p);