From f463e79addfe63297d4e44f9da49a30cc56b68c3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Jun 2014 22:11:20 +0000 Subject: added compile switches for libnettle --- src/cipher.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cipher.h') diff --git a/src/cipher.h b/src/cipher.h index c39f9cb..a9ce59b 100644 --- a/src/cipher.h +++ b/src/cipher.h @@ -42,6 +42,8 @@ #if defined(USE_SSL_CRYPTO) #include +#elif defined(USE_NETTLE) +#include #else // USE_GCRYPT is the default #include #endif @@ -101,6 +103,9 @@ private: #if defined(USE_SSL_CRYPTO) AES_KEY aes_key_; uint8_t ecount_buf_[AES_BLOCK_SIZE]; +#elif defined(USE_NETTLE) + // TODO: nettle + #else // USE_GCRYPT is the default gcry_cipher_hd_t handle_; #endif -- cgit v1.2.3