Use data_blob() for now, since it seems to be the only function available in both...
[samba.git] / lib / crypto / arcfour.c
index e70713b7e6aedab351454134233165c8e9d2a73b..c57e05d0e9175c0d4615fea2952b50d25f89e23e 100644 (file)
@@ -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);