git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1acd160
)
Make heimdal and MIT happy when iterating through auth data.
author
Günther Deschner
<gd@samba.org>
Wed, 12 Dec 2007 17:57:45 +0000
(18:57 +0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 12 Dec 2007 17:58:26 +0000
(18:58 +0100)
Guenther
(This used to be commit
507247dcbf0ef02825a6c5c5f313813714df2d99
)
source3/libsmb/clikrb5.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clikrb5.c
b/source3/libsmb/clikrb5.c
index 1bbd765965568cc920ab56b98259cec3886fd5af..844a3b35c0dbba7f8646eb196e308801dcdeca07 100644
(file)
--- 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) {
-
contin
ue;
+
+ if (got_auth_data_pac) {
+
return tr
ue;
}
}