diff options
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index f88c99d6df..37ab9d1cc6 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -177,6 +177,9 @@ tor_tls_free_all(void) static int always_accept_verify_cb(int preverify_ok, X509_STORE_CTX *x509_ctx) { + /* avoid "unused parameter" warning. */ + preverify_ok = 0; + x509_ctx = NULL; return 1; } |