diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-29 22:59:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-29 22:59:17 +0000 |
commit | 5c53545d8158cd486d3ccef096f895afd485dd62 (patch) | |
tree | a1d83ddbcafe741af52750b9941af42e1ac01108 /src/common/tortls.c | |
parent | c6347cdb0ebb9ad0e374f345fbe085265caf0b15 (diff) | |
download | tor-5c53545d8158cd486d3ccef096f895afd485dd62.tar.gz tor-5c53545d8158cd486d3ccef096f895afd485dd62.zip |
Add a bunch more warnings to out warning suite; resolve them; pack structs a little better.
svn:r5150
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; } |