summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-16 09:49:05 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-31 19:46:00 -0400
commit76e10ee6b9fbd5a0372f6d04e432c78aa560e9f9 (patch)
tree203ff5c128b04ae68a33defc51779929bffd848a /src/lib/crypt_ops/include.am
parent60705a5719d929a5f3180bc4e6906f972855f84b (diff)
downloadtor-76e10ee6b9fbd5a0372f6d04e432c78aa560e9f9.tar.gz
tor-76e10ee6b9fbd5a0372f6d04e432c78aa560e9f9.zip
Use NSS for AES_CTR.
Diffstat (limited to 'src/lib/crypt_ops/include.am')
-rw-r--r--src/lib/crypt_ops/include.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/crypt_ops/include.am b/src/lib/crypt_ops/include.am
index e96d6b0a5c..3ebb0b0f6b 100644
--- a/src/lib/crypt_ops/include.am
+++ b/src/lib/crypt_ops/include.am
@@ -6,7 +6,6 @@ noinst_LIBRARIES += src/lib/libtor-crypt-ops-testing.a
endif
src_lib_libtor_crypt_ops_a_SOURCES = \
- src/lib/crypt_ops/aes.c \
src/lib/crypt_ops/crypto_cipher.c \
src/lib/crypt_ops/crypto_curve25519.c \
src/lib/crypt_ops/crypto_dh.c \
@@ -24,8 +23,13 @@ src_lib_libtor_crypt_ops_a_SOURCES = \
if USE_NSS
src_lib_libtor_crypt_ops_a_SOURCES += \
+ src/lib/crypt_ops/aes_nss.c \
src/lib/crypt_ops/crypto_nss_mgt.c
+else
+src_lib_libtor_crypt_ops_a_SOURCES += \
+ src/lib/crypt_ops/aes_openssl.c
endif
+
if USE_OPENSSL
src_lib_libtor_crypt_ops_a_SOURCES += \
src/lib/crypt_ops/crypto_openssl_mgt.c