diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-11 16:17:14 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-11 16:17:14 +0200 |
commit | 033bc4682b7c7541966da4b2b43b65a4ba722b43 (patch) | |
tree | 6c256296c15f5202d63f815f888f6deb2c2f57d4 /lib | |
parent | 6a78e56277799672b7ac187c57e546836e136f79 (diff) | |
download | samba-033bc4682b7c7541966da4b2b43b65a4ba722b43.tar.gz samba-033bc4682b7c7541966da4b2b43b65a4ba722b43.tar.bz2 samba-033bc4682b7c7541966da4b2b43b65a4ba722b43.zip |
Prevent errors with data_blob() being a macro in s4 and function in s3.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/arcfour.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/arcfour.c b/lib/crypto/arcfour.c index c57e05d0e9..b4773f4041 100644 --- a/lib/crypto/arcfour.c +++ b/lib/crypto/arcfour.c @@ -81,7 +81,7 @@ _PUBLIC_ void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key) */ _PUBLIC_ void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len) { - DATA_BLOB key = data_blob(keystr, 16); + DATA_BLOB key = { discard_const_p(uint8_t, keystr), 16 }; arcfour_crypt_blob(data, len, &key); |