lib:replace: Add getprogname()
[samba.git] / lib / crypto / md4test.c
index 5e0451973c8e07ca1f0eb44f10a0d77dbc88798f..dfdaef51b004ed1dbc15063724c3e7915d95daaf 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
-#include "lib/crypto/crypto.h"
+#include "replace.h"
+#include "../lib/util/samba_util.h"
+#include "../lib/crypto/crypto.h"
 
 struct torture_context;
+bool torture_local_crypto_md4(struct torture_context *torture);
 
 /*
  This uses the test values from rfc1320
 */
-bool torture_local_crypto_md4(struct torture_context *torture) 
+bool torture_local_crypto_md4(struct torture_context *torture)
 {
        bool ret = true;
        uint32_t i;
@@ -64,7 +66,7 @@ bool torture_local_crypto_md4(struct torture_context *torture)
                DATA_BLOB md4blob;
 
                data = data_blob_string_const(testarray[i].data);
-               md4blob  = strhex_to_data_blob(testarray[i].md4);
+               md4blob  = strhex_to_data_blob(NULL, testarray[i].md4);
 
                mdfour(md4, data.data, data.length);