mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
<weasel> tortls.c: In function `tor_tls_client_is_using_v2_ciphers':
<weasel> tortls.c:634: warning: passing arg 1 of `SSL_get_session' discards qualifiers from pointer target type Nick, see if you like this patch. svn:r13690
This commit is contained in:
parent
31f72a3d80
commit
a0bc80bbf8
@ -631,7 +631,7 @@ tor_tls_client_is_using_v2_ciphers(const SSL *ssl, const char *address)
|
|||||||
SSL_SESSION *session;
|
SSL_SESSION *session;
|
||||||
/* If we reached this point, we just got a client hello. See if there is
|
/* If we reached this point, we just got a client hello. See if there is
|
||||||
* a cipher list. */
|
* a cipher list. */
|
||||||
if (!(session = SSL_get_session(ssl))) {
|
if (!(session = SSL_get_session((SSL *)ssl))) {
|
||||||
log_warn(LD_NET, "No session on TLS?");
|
log_warn(LD_NET, "No session on TLS?");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user