From 3f63b63761a4fa6eec5ac9ec336c760de2abc9ad Mon Sep 17 00:00:00 2001 From: ycyang Date: Fri, 8 Jan 2021 18:37:06 +0800 Subject: [PATCH 6/8] remove the wordy define. --- crypto/include/cipher_types.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crypto/include/cipher_types.h b/crypto/include/cipher_types.h index f6abd02..089e705 100644 --- a/crypto/include/cipher_types.h +++ b/crypto/include/cipher_types.h @@ -71,17 +71,11 @@ extern srtp_debug_module_t srtp_mod_alloc; /* debug modules for cipher types */ extern srtp_debug_module_t srtp_mod_aes_icm; -#ifdef OPENSSL -extern srtp_debug_module_t srtp_mod_aes_gcm; -#endif -#ifdef MBEDTLS -extern srtp_debug_module_t srtp_mod_aes_gcm; -#endif -#ifdef NSS + +#if (defined(OPENSSL) || defined(MBEDTLS) || defined(NSS)) extern srtp_debug_module_t srtp_mod_aes_gcm; #endif /* debug modules for auth types */ extern srtp_debug_module_t srtp_mod_hmac; - #endif -- 2.17.1