summaryrefslogtreecommitdiffstats
path: root/fips/hmac
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-11-01 13:45:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-11-01 13:45:30 +0000
commit8b8096d082292211cc977af195e9b12c88c26de3 (patch)
treee87a03240248b023aa8cbb45963d6d1a91d5dd19 /fips/hmac
parent9ab6d6813ec544a15f6aea3d4af83629fa1eb4e5 (diff)
Add support for multicall fips_algvs utility combining functionality
of all fips test utilities in a single binary and some minimal script parsing for platforms lacking a suitable shell. In order to keep changes to the build system to a minimum it #includes all the utilities C source files (yuck).
Diffstat (limited to 'fips/hmac')
-rw-r--r--fips/hmac/fips_hmactest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fips/hmac/fips_hmactest.c b/fips/hmac/fips_hmactest.c
index 07c18bfdfa..da9c8d7926 100644
--- a/fips/hmac/fips_hmactest.c
+++ b/fips/hmac/fips_hmactest.c
@@ -85,7 +85,11 @@ static int print_hmac(const EVP_MD *md, FILE *out,
unsigned char *Key, int Klen,
unsigned char *Msg, int Msglen, int Tlen);
+#ifdef FIPS_ALGVS
+int fips_hmactest_main(int argc, char **argv)
+#else
int main(int argc, char **argv)
+#endif
{
FILE *in = NULL, *out = NULL;