1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[ssl] cast

This commit is contained in:
Witold Filipczyk 2022-02-25 20:46:14 +01:00
parent fc987ca5f4
commit ee4d281fd0

View File

@ -106,7 +106,7 @@ verify_certificates(struct socket *socket)
{
gnutls_x509_crt_t cert;
gnutls_session_t session = *(ssl_t *)socket->ssl;
struct connection *conn = socket->conn;
struct connection *conn = (struct connection *)socket->conn;
const gnutls_datum_t *cert_list;
char *hostname;
int ret;