summaryrefslogtreecommitdiff
path: root/src/test/test_tortls_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_tortls_openssl.c')
-rw-r--r--src/test/test_tortls_openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_tortls_openssl.c b/src/test/test_tortls_openssl.c
index ee66458e13..8ccad20bb0 100644
--- a/src/test/test_tortls_openssl.c
+++ b/src/test/test_tortls_openssl.c
@@ -16,7 +16,7 @@
/* Some versions of OpenSSL declare SSL_get_selected_srtp_profile twice in
* srtp.h. Suppress the GCC warning so we can build with -Wredundant-decl. */
-DISABLE_GCC_WARNING(redundant-decls)
+DISABLE_GCC_WARNING("-Wredundant-decls")
#include <openssl/opensslv.h>
@@ -29,7 +29,7 @@ DISABLE_GCC_WARNING(redundant-decls)
#include <openssl/evp.h>
#include <openssl/bn.h>
-ENABLE_GCC_WARNING(redundant-decls)
+ENABLE_GCC_WARNING("-Wredundant-decls")
#include "core/or/or.h"
#include "lib/log/log.h"