summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-12 18:57:45 +0100
committerGünther Deschner <gd@samba.org>2007-12-12 18:58:26 +0100
commit022014dba281a50d98ac2f00a4c941124065914f (patch)
tree43c40aaa9d3dff12b9dd7a9df0f8fbfeed0c552f /source3
parent1acd160800bf93ca59daf71cea235fc88e31fb4a (diff)
downloadsamba-022014dba281a50d98ac2f00a4c941124065914f.tar.gz
samba-022014dba281a50d98ac2f00a4c941124065914f.tar.bz2
samba-022014dba281a50d98ac2f00a4c941124065914f.zip
Make heimdal and MIT happy when iterating through auth data.
Guenther (This used to be commit 507247dcbf0ef02825a6c5c5f313813714df2d99)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clikrb5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 1bbd765965..844a3b35c0 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -399,9 +399,9 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_
/* check if it is a PAC */
got_auth_data_pac = unwrap_pac(mem_ctx, &auth_data_wrapped, auth_data);
data_blob_free(&auth_data_wrapped);
-
- if (!got_auth_data_pac) {
- continue;
+
+ if (got_auth_data_pac) {
+ return true;
}
}