diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-03-09 14:55:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-03-09 14:55:10 +0000 |
commit | a6de7133bb1671e2c5ff1116ec4d337d26a64952 (patch) | |
tree | 646fedc17a713110085b52dec8d38972cde23c5c /fips/dh | |
parent | 0fa714a4f0cfdde652796da8acb0a3ef1d8675a1 (diff) |
Enter FIPS mode in fips_dhvs. Support file I/O in fips_ecdsavs.
Diffstat (limited to 'fips/dh')
-rw-r--r-- | fips/dh/fips_dhvs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fips/dh/fips_dhvs.c b/fips/dh/fips_dhvs.c index 92b8d699ef..dc6a95ca40 100644 --- a/fips/dh/fips_dhvs.c +++ b/fips/dh/fips_dhvs.c @@ -161,6 +161,8 @@ int main(int argc,char **argv) int do_verify = -1, exout = 0; fips_set_error_print(); + if(!FIPS_mode_set(1)) + exit(1); if (argn && !strcmp(*args, "dhver")) { |