mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
gnutls: GNUTLS_E_PREMATURE_TERMINATION on www.raspberrypi.org
This commit is contained in:
parent
639748a20c
commit
8a8af596e0
@ -568,6 +568,10 @@ ssl_read(struct socket *socket, unsigned char *data, int len)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_GNUTLS
|
||||
if (err == GNUTLS_E_PREMATURE_TERMINATION) {
|
||||
return SOCKET_CANT_READ;
|
||||
}
|
||||
|
||||
if (err == GNUTLS_E_REHANDSHAKE) {
|
||||
err = ssl_do_connect(socket);
|
||||
if (err == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user