curve25519: include reference implementation

This commit is contained in:
Aris Adamantiadis
2013-11-03 14:58:10 +01:00
parent ebf4a03908
commit c5ef5ed18f
4 changed files with 293 additions and 9 deletions

View File

@@ -115,6 +115,7 @@ set(libssh_SRCS
client.c
config.c
connect.c
curve25519.c
dh.c
ecdh.c
error.c
@@ -204,12 +205,12 @@ if (WITH_GSSAPI AND GSSAPI_FOUND)
)
endif (WITH_GSSAPI AND GSSAPI_FOUND)
if (WITH_NACL)
if (NOT WITH_NACL)
set(libssh_SRCS
${libssh_SRCS}
curve25519.c
curve25519_ref.c
)
endif (WITH_NACL)
endif (NOT WITH_NACL)
include_directories(
${LIBSSH_PUBLIC_INCLUDE_DIRS}