diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 14:58:10 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 14:58:10 +0100 |
commit | c5ef5ed18f61f1392d0bb4805abc4f14c28e9a51 (patch) | |
tree | b9405b214937e6c8d1cc850dc4efcf6d9aebfb14 /src/CMakeLists.txt | |
parent | ebf4a03908e9d5cc728af675f4f235c315241f99 (diff) | |
download | libssh-c5ef5ed18f61f1392d0bb4805abc4f14c28e9a51.tar.gz libssh-c5ef5ed18f61f1392d0bb4805abc4f14c28e9a51.tar.xz libssh-c5ef5ed18f61f1392d0bb4805abc4f14c28e9a51.zip |
curve25519: include reference implementation
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b4046805..83435d0c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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} |