summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2020-03-03 02:32:42 +0000
committerSteve Holme <steve_holme@hotmail.com>2020-03-06 13:08:03 +0000
commit3c3db98b6fce8d1c6481e300ed4918ccddbd7891 (patch)
treecf2a5df177af1965091aaa0b300d664dd435a860 /tests/unit
parent64258bd0aa6ad23195f6be32e6febf7439ab7984 (diff)
downloadcurl-3c3db98b6fce8d1c6481e300ed4918ccddbd7891.tar.gz
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
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/Makefile.inc2
-rw-r--r--tests/unit/unit1612.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/Makefile.inc b/tests/unit/Makefile.inc
index 4fe80d5db..f63724f91 100644
--- a/tests/unit/Makefile.inc
+++ b/tests/unit/Makefile.inc
@@ -126,7 +126,7 @@ unit1610_CPPFLAGS = $(AM_CPPFLAGS)
unit1611_SOURCES = unit1611.c $(UNITFILES)
unit1611_CPPFLAGS = $(AM_CPPFLAGS)
-unit1612_SOURCES = unit1611.c $(UNITFILES)
+unit1612_SOURCES = unit1612.c $(UNITFILES)
unit1612_CPPFLAGS = $(AM_CPPFLAGS)
unit1620_SOURCES = unit1620.c $(UNITFILES)
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,