[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-610-g507247d

Günther Deschner gd at samba.org
Wed Dec 12 17:59:55 GMT 2007


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 <gd at samba.org>
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


More information about the samba-cvs mailing list