mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
gnutls_transport_ptr is deprecated.
This commit is contained in:
parent
e58fc7e2cb
commit
7328bb9c9e
@ -471,7 +471,7 @@ ssl_connect(struct socket *socket)
|
||||
* ELinks must just cast the pointer the best it can and hope
|
||||
* that the conversions match. */
|
||||
gnutls_transport_set_ptr(*((ssl_t *) socket->ssl),
|
||||
(gnutls_transport_ptr) (longptr_T) socket->fd);
|
||||
(gnutls_transport_ptr_t) (longptr_T) socket->fd);
|
||||
|
||||
/* TODO: Some certificates fuss. --pasky */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user