Update SoftHSM v2.0 to the latest version
[aaf/sshsm.git] / SoftHSMv2 / modules / tests / test_openssl_ed25519.c
diff --git a/SoftHSMv2/modules/tests/test_openssl_ed25519.c b/SoftHSMv2/modules/tests/test_openssl_ed25519.c
new file mode 100644 (file)
index 0000000..70dd92f
--- /dev/null
@@ -0,0 +1,11 @@
+#include <openssl/evp.h>
+#include <openssl/objects.h>
+int main()
+{
+       EVP_PKEY_CTX *ctx;
+
+       ctx = EVP_PKEY_CTX_new_id(NID_ED25519, NULL);
+       if (ctx == NULL)
+               return 1;
+       return 0;
+}