mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
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 496df21c89
, not in any released version of tor.
This commit is contained in:
parent
b1094fdec5
commit
b3f79da0d5
7
changes/bug16115-unused-find-cipher
Normal file
7
changes/bug16115-unused-find-cipher
Normal file
@ -0,0 +1,7 @@
|
||||
o Minor fixes (threads, comments):
|
||||
- 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 of OpenSSL.
|
||||
Patch by "teor".
|
||||
Fix on 496df21c89d1, not in any released version of tor.
|
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user