From: Sam Hartman Date: Fri, 13 Feb 2004 04:20:56 +0000 (+0000) Subject: Fix logic error X-Git-Tag: krb5-1.4-beta1~620 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=65979a268ddea3d7b0ff170da5923a6a3c0255cb;p=krb5.git Fix logic error Ticket: 2234 Target_Version: 1.3.2 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16070 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 7c44db4bd..f6f5dbd6e 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,7 @@ +2004-02-12 Sam Hartman + + * kdc_util.c (validate_tgs_request): Fix logic error + 2004-02-09 Tom Yu * main.c (init_realm): Apply patch from Will Fiveash to use diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index 4e2b26d42..071555bd9 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -1115,7 +1115,7 @@ validate_tgs_request(register krb5_kdc_req *request, krb5_db_entry server, /* * If an illegal option is set, ignore it. */ - request->kdc_options &= ~(TGS_OPTIONS_HANDLED); + request->kdc_options &= TGS_OPTIONS_HANDLED; /* Check to see if server has expired */ if (server.expiration && server.expiration < kdc_time) {