aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ChangeLog18
-rw-r--r--src/lib/krb5/ccache/cc_mslsa.c1
2 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog
index dd377b0..369cd91 100644
--- a/src/lib/krb5/ccache/ChangeLog
+++ b/src/lib/krb5/ccache/ChangeLog
@@ -1,3 +1,21 @@
+2004-06-30 Ken Raeburn <raeburn@mit.edu>
+
+ * cc_file.c (krb5_fcc_data): Added a mutex.
+ (krb5_fcc_read*, krb5_fcc_write, krb5_fcc_store_*,
+ krb5_fcc_open_file, krb5_fcc_skip_header,
+ krb5_fcc_skip_principal): Verify that the mutex is locked.
+ (MAYBE_OPEN): Verify that the mutex is locked; unlock it if
+ returning an error.
+ (krb5_fcc_initialize, krb5_fcc_start_seq_get,
+ krb5_fcc_get_principal, krb5_fcc_store, krb5_fcc_set_flags): Lock
+ and unlock the mutex.
+ (krb5_fcc_close): Likewise. Destroy the mutex when done.
+ (krb5_fcc_destroy): Merge stdio and non-stdio versions a little
+ more. Destroy the mutex when done.
+ (krb5_fcc_resolve): Initialize and lock the mutex.
+ (krb5_fcc_next_cred): Lock and unlock the mutex. Merge the stdio
+ and non-stdio branches a little more.
+
2004-06-29 Jeffrey Altman <jaltman@mit.edu>
* cc_mslsa.c:
diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c
index 3ab99cf..8fd278e 100644
--- a/src/lib/krb5/ccache/cc_mslsa.c
+++ b/src/lib/krb5/ccache/cc_mslsa.c
@@ -850,6 +850,7 @@ GetMSTGT(krb5_context context, HANDLE LogonHandle, ULONG PackageId, KERB_EXTERNA
#else
/* Check Supported Enctypes */
if ( !enforce_tgs_enctypes ||
+ pTicketResponse->Ticket.SessionKey.KeyType == KERB_ETYPE_NULL ||
krb5_is_permitted_tgs_enctype(context, NULL, pTicketResponse->Ticket.SessionKey.KeyType) ) {
FILETIME Now, MinLife, EndTime, LocalEndTime;
__int64 temp;