aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls/tortls_nss.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-02 17:04:17 -0500
committerNick Mathewson <nickm@torproject.org>2020-01-09 07:30:35 -0500
commit3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4 (patch)
treeafdc129a9f9a2646aa814ab6571c88f6f4eb8295 /src/lib/tls/tortls_nss.c
parent792e5b24039f008648ace6136ab10cc869e65afc (diff)
downloadtor-3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4.tar.gz
tor-3ce2304c6d031020cd8a1f00dee6e87fbf40ecd4.zip
Use new ENABLE/DISABLE_GCC_WARNING
This is an automated commit, generated by: perl -i -pe 'next if /define/; s/((?:ENABLE|DISABLE)_GCC_WARNING)\(([A-Za-z0-9_\-]+)\)/$1(\"-W$2\")/' src/*/*/*.[ch] src/*/*.[ch]
Diffstat (limited to 'src/lib/tls/tortls_nss.c')
-rw-r--r--src/lib/tls/tortls_nss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tortls_nss.c b/src/lib/tls/tortls_nss.c
index 3c62e98df1..3401c41005 100644
--- a/src/lib/tls/tortls_nss.c
+++ b/src/lib/tls/tortls_nss.c
@@ -34,7 +34,7 @@
#include "lib/tls/nss_countbytes.h"
#include "lib/log/util_bug.h"
-DISABLE_GCC_WARNING(strict-prototypes)
+DISABLE_GCC_WARNING("-Wstrict-prototypes")
#include <prio.h>
// For access to rar sockets.
#include <private/pprio.h>
@@ -42,7 +42,7 @@ DISABLE_GCC_WARNING(strict-prototypes)
#include <sslt.h>
#include <sslproto.h>
#include <certt.h>
-ENABLE_GCC_WARNING(strict-prototypes)
+ENABLE_GCC_WARNING("-Wstrict-prototypes")
static SECStatus always_accept_cert_cb(void *, PRFileDesc *, PRBool, PRBool);