[SCM] Samba Shared Repository - branch master updated - 3bcb76a92499aca8b209c8a5f07829cd852cbaa0

Volker Lendecke vlendec at samba.org
Sun Oct 12 12:09:49 GMT 2008


The branch, master has been updated
       via  3bcb76a92499aca8b209c8a5f07829cd852cbaa0 (commit)
      from  dc2e98edc40ff30bd172eecf9e08219b7678df44 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 3bcb76a92499aca8b209c8a5f07829cd852cbaa0
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Oct 12 14:07:34 2008 +0200

    Fix "warning: initialization discards qualifiers from pointer target type"

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

Summary of changes:
 source3/libsmb/smbdes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c
index 76779e2..8087d66 100644
--- a/source3/libsmb/smbdes.c
+++ b/source3/libsmb/smbdes.c
@@ -389,7 +389,7 @@ void des_crypt112_16(unsigned char out[16], unsigned char in[16], const unsigned
 void SamOEMhash( unsigned char *data, const unsigned char key[16], size_t len)
 {
 	struct arcfour_state arc4_state;
-	DATA_BLOB keyblob = { key, 16 };
+	const DATA_BLOB keyblob = data_blob_const(key, 16);
 
 	arcfour_init(&arc4_state, &keyblob);
 	arcfour_crypt_sbox(&arc4_state, data, len);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list