From 7538e2aab3f43e500ec419a0c59093961f07a132 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Wed, 16 Oct 1996 20:16:10 +0000 Subject: [PATCH] * svc_auth_gssapi.c (_svcauth_gssapi): accept add call_arg version 4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9184 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/ChangeLog | 5 +++++ src/lib/rpc/svc_auth_gssapi.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 08f563bd2..d64ceef73 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 16 16:12:07 1996 Barry Jaspan + + * svc_auth_gssapi.c (_svcauth_gssapi): accept add call_arg version + 4 + Tue Oct 15 17:04:09 1996 Barry Jaspan * Makefile.in (CFLAGS): compile with -DGSSAPI_KRB5 diff --git a/src/lib/rpc/svc_auth_gssapi.c b/src/lib/rpc/svc_auth_gssapi.c index be277ec83..1e204e0e3 100644 --- a/src/lib/rpc/svc_auth_gssapi.c +++ b/src/lib/rpc/svc_auth_gssapi.c @@ -5,6 +5,9 @@ * $Source$ * * $Log$ + * Revision 1.41 1996/10/16 20:16:10 bjaspan + * * svc_auth_gssapi.c (_svcauth_gssapi): accept add call_arg version 4 + * * Revision 1.40 1996/10/15 21:05:10 bjaspan * * configure.in: add DO_SUBDIRS so make will descend into unit-test * @@ -469,6 +472,8 @@ enum auth_stat _svcauth_gssapi(rqst, msg, no_dispatch) call_res.version = 1; break; case 3: + case 4: + /* 3 and 4 are essentially the same, don't bother warning */ call_res.version = call_arg.version; break; default: @@ -482,7 +487,7 @@ enum auth_stat _svcauth_gssapi(rqst, msg, no_dispatch) krb5_gss_set_backward_mode(&minor_stat, call_arg.version == 1); #endif - if (call_arg.version == 3) { + if (call_arg.version >= 3) { int len; memset(&bindings, 0, sizeof(bindings)); -- 2.26.2