diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2004-09-10 17:34:31 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2004-09-10 17:34:31 +0000 |
commit | 3a290273e0f947efa014831652526b49192cdcc4 (patch) | |
tree | ffa7263d219304e307212eda4f8903b190630d12 | |
parent | 2fb649cf381eb2999d298301495a93c5b69c8a0c (diff) | |
download | krb5-3a290273e0f947efa014831652526b49192cdcc4.zip krb5-3a290273e0f947efa014831652526b49192cdcc4.tar.gz krb5-3a290273e0f947efa014831652526b49192cdcc4.tar.bz2 |
cc_mslsa.c: Correct test for KerbQueryTicketCacheEx2Message
ticket: 2705
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16736 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/ccache/ChangeLog | 3 | ||||
-rw-r--r-- | src/lib/krb5/ccache/cc_mslsa.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 64be621..42ae603 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,6 @@ +2004-09-10 Jeffrey Altman <jaltman@mit.edu> + * cc_mslsa.c: Correct test for KerbQueryTicketCacheExMessage + 2004-09-09 Jeffrey Altman <jaltman@mit.edu> * cc_mslsa.c: The following functionality is being committed diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c index c782e63..9b8025c 100644 --- a/src/lib/krb5/ccache/cc_mslsa.c +++ b/src/lib/krb5/ccache/cc_mslsa.c @@ -592,9 +592,9 @@ does_query_ticket_cache_ex2 (void) LocalFree(pCacheRequest); CloseHandle(LogonHandle); - if (FAILED(Status) || FAILED(SubStatus)) { - if ( SubStatus != STATUS_NOT_SUPPORTED ) - fEx2Response = TRUE; + if (!(FAILED(Status) || FAILED(SubStatus))) { + LsaFreeReturnBuffer(pCacheResponse); + fEx2Response = TRUE; } fChecked = TRUE; } |