diff options
Diffstat (limited to 'source3/libsmb/smbdes.c')
-rw-r--r-- | source3/libsmb/smbdes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c index 76779e2d27..8087d66799 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); |