Update SoftHSM v2.0 to the latest version
[aaf/sshsm.git] / SoftHSMv2 / modules / tests / test_openssl_fips.c
diff --git a/SoftHSMv2/modules/tests/test_openssl_fips.c b/SoftHSMv2/modules/tests/test_openssl_fips.c
new file mode 100644 (file)
index 0000000..51e75cd
--- /dev/null
@@ -0,0 +1,5 @@
+#include <openssl/crypto.h>
+int main()
+{
+        return !FIPS_mode_set(1);
+}