Code Review
/
aaf
/
sshsm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
+++ b/
SoftHSMv2/modules/tests/test_openssl_ed25519.c
@@ -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;
+}