From 3c3db98b6fce8d1c6481e300ed4918ccddbd7891 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 3 Mar 2020 02:32:42 +0000 Subject: unit1612: fixed the inclusion and compilation of the HMAC unit test Follow up to 3f74e5e6 to fix: - A typo in Makefile.inc where unit1611 was used instead - Some compilation issues in unit1612.c Closes #5024 --- tests/unit/unit1612.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit/unit1612.c') diff --git a/tests/unit/unit1612.c b/tests/unit/unit1612.c index be45397fb..3fb2de033 100644 --- a/tests/unit/unit1612.c +++ b/tests/unit/unit1612.c @@ -22,6 +22,7 @@ #include "curlcheck.h" #include "curl_hmac.h" +#include "curl_md5.h" static CURLcode unit_setup(void) { @@ -44,7 +45,7 @@ UNITTEST_START Curl_hmacit(Curl_HMAC_MD5, (const unsigned char *) password, strlen(password), - (const unsigned char *) string1, strlen(string1) + (const unsigned char *) string1, strlen(string1), output); verify_memory(testp, -- cgit v1.2.3