crypto: Add prototype for main torture functions.
[tridge/samba.git] / lib / crypto / md5test.c
index 1244dca75377e3a79155d447cf67068227a80c48..38626c39bce6ea2f2163c922f45261b038a60f2b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "includes.h"
+#include "replace.h"
+#include "../lib/util/samba_util.h"
 #include "../lib/crypto/crypto.h"
 
 struct torture_context;
 
+bool torture_local_crypto_md5(struct torture_context *torture);
+
 /*
  This uses the test values from rfc1321
 */
@@ -70,7 +73,7 @@ bool torture_local_crypto_md5(struct torture_context *torture)
                DATA_BLOB md5blob;
 
                data = data_blob_string_const(testarray[i].data);
-               md5blob  = strhex_to_data_blob(testarray[i].md5);
+               md5blob  = strhex_to_data_blob(NULL, testarray[i].md5);
 
                MD5Init(&ctx);
                MD5Update(&ctx, data.data, data.length);