aboutsummaryrefslogtreecommitdiff
path: root/ed25519.c
diff options
context:
space:
mode:
Diffstat (limited to 'ed25519.c')
-rw-r--r--ed25519.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ed25519.c b/ed25519.c
index 0e167ae1f6bc..2452dff0f62d 100644
--- a/ed25519.c
+++ b/ed25519.c
@@ -11,6 +11,8 @@
#include "includes.h"
+#ifndef OPENSSL_HAS_ED25519
+
#include <string.h>
#include "crypto_api.h"
@@ -2028,3 +2030,5 @@ badsig:
memset(m,0,smlen);
return -1;
}
+
+#endif /* OPENSSL_HAS_ED25519 */