summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-11 21:02:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-11 21:02:13 +0200
commit621cf3c9bf161e686935f57393ab184d298d72de (patch)
tree75446a800e75cbddddaa9a844c08a25a743755e9 /lib/crypto
parent2c4391e95002404fb2e1d09f97541c1ece1da46f (diff)
downloadsamba-621cf3c9bf161e686935f57393ab184d298d72de.tar.gz
samba-621cf3c9bf161e686935f57393ab184d298d72de.tar.bz2
samba-621cf3c9bf161e686935f57393ab184d298d72de.zip
Use data_blob() for now, since it seems to be the only function available in both Samba 3 and Samba 4.
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/arcfour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/arcfour.c b/lib/crypto/arcfour.c
index e70713b7e6..c57e05d0e9 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_named(keystr, 16, "DATA_BLOB: "__location__);
+ DATA_BLOB key = data_blob(keystr, 16);
arcfour_crypt_blob(data, len, &key);