From 3d00ddf2968711d071b537b27c3ec208b584cbdc Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 15 Nov 2013 21:52:45 +0100 Subject: Allow using blowfish from OpenSSL on systems where it's available anyways --- src/crypto/cipher/blowfish_ctr/openssl/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/crypto/cipher/blowfish_ctr/openssl/CMakeLists.txt (limited to 'src/crypto/cipher/blowfish_ctr/openssl/CMakeLists.txt') diff --git a/src/crypto/cipher/blowfish_ctr/openssl/CMakeLists.txt b/src/crypto/cipher/blowfish_ctr/openssl/CMakeLists.txt new file mode 100644 index 0000000..76bce41 --- /dev/null +++ b/src/crypto/cipher/blowfish_ctr/openssl/CMakeLists.txt @@ -0,0 +1,7 @@ +if(USE_OPENSSL) + fastd_cipher_impl(blowfish-ctr openssl + blowfish_ctr.c + ) + fastd_cipher_impl_include_directories(blowfish-ctr openssl ${OPENSSL_INCLUDE_DIRS}) + fastd_cipher_impl_link_libraries(blowfish-ctr openssl ${OPENSSL_CRYPTO_LIBRARIES}) +endif(USE_OPENSSL) -- cgit v1.2.3