summaryrefslogtreecommitdiffstats
path: root/fips/dh/fips_dhvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fips/dh/fips_dhvs.c')
-rw-r--r--fips/dh/fips_dhvs.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fips/dh/fips_dhvs.c b/fips/dh/fips_dhvs.c
index ad760c8aaa..3ba1977862 100644
--- a/fips/dh/fips_dhvs.c
+++ b/fips/dh/fips_dhvs.c
@@ -145,8 +145,12 @@ static void output_Zhash(FILE *out, int exout,
OPENSSL_cleanse(Z, Zlen);
OPENSSL_free(Z);
}
-
-int main(int argc,char **argv)
+
+#ifdef FIPS_ALGVS
+int fips_dhvs_main(int argc, char **argv)
+#else
+int main(int argc, char **argv)
+#endif
{
char **args = argv + 1;
int argn = argc - 1;