diff options
author | teor <teor2345@gmail.com> | 2015-06-03 03:43:46 +1000 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2015-06-03 04:19:05 +1000 |
commit | b3f79da0d589157948262d4a5c81969da789c0c4 (patch) | |
tree | 170aceeb421656a1fc82794bbb76c0ba22f4b0fe /src/common/tortls.c | |
parent | b1094fdec505088a39c94da79219d17c10baabef (diff) | |
download | tor-b3f79da0d589157948262d4a5c81969da789c0c4.tar.gz tor-b3f79da0d589157948262d4a5c81969da789c0c4.zip |
Silence unused variable warnings in find_cipher_by_id
Unused variable warnings were still generated under some versions of OpenSSL.
Instead, make sure all variables are used under all versions.
Fix on 496df21c89d1, not in any released version of tor.
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index a4b6c487fe..70b9f0b240 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -1483,6 +1483,8 @@ find_cipher_by_id(const SSL *ssl, const SSL_METHOD *m, uint16_t cipher) } #endif (void) ssl; + (void) m; + (void) cipher; return 1; /* No way to search */ } |