projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add fips_algvs utility (from FIPS 2.0 stable branch).
[openssl.git]
/
fips
/
dh
/
fips_dhvs.c
diff --git
a/fips/dh/fips_dhvs.c
b/fips/dh/fips_dhvs.c
index ad760c8aaaa516eec95182ba6c9d51dd22be5eb0..3ba1977862a9797772eca040a5d6a95305c94be6 100644
(file)
--- 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;