The branch, v3-2-test has been updated
       via  507247dcbf0ef02825a6c5c5f313813714df2d99 (commit)
      from  c9adc07ca2a3bb1e0ea98e3b4f68e1a87e5c0196 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 507247dcbf0ef02825a6c5c5f313813714df2d99
Author: Günther Deschner <[EMAIL PROTECTED]>
Date:   Wed Dec 12 18:57:45 2007 +0100

    Make heimdal and MIT happy when iterating through auth data.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/libsmb/clikrb5.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c
index 1bbd765..844a3b3 100644
--- a/source/libsmb/clikrb5.c
+++ b/source/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;
                        }
                }
 


-- 
Samba Shared Repository

Reply via email to