mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
-VERS-SSL3.0 in gnutls to avoid SSL error.
This commit is contained in:
parent
3688bb9c61
commit
e015e2be21
@ -91,7 +91,7 @@ ssl_set_no_tls(struct socket *socket)
|
||||
* that version hasn't yet been released as of May 2011. */
|
||||
gnutls_priority_set_direct(*(ssl_t *) socket->ssl,
|
||||
"SECURE:-CTYPE-OPENPGP"
|
||||
":+VERS-SSL3.0:-VERS-TLS1.0"
|
||||
":-VERS-SSL3.0:-VERS-TLS1.0"
|
||||
":-VERS-TLS1.1:-VERS-TLS1.2"
|
||||
":%SSL3_RECORD_VERSION",
|
||||
NULL);
|
||||
|
@ -348,7 +348,7 @@ init_ssl_connection(struct socket *socket,
|
||||
* in ELinks. If you change the priorities here, please check
|
||||
* whether that one needs to be changed as well. */
|
||||
if (gnutls_priority_set_direct(*state,
|
||||
"NORMAL:-CTYPE-OPENPGP:-VERS-TLS1.1",
|
||||
"NORMAL:-CTYPE-OPENPGP:-VERS-TLS1.1:-VERS-SSL3.0",
|
||||
NULL)) {
|
||||
gnutls_deinit(*state);
|
||||
mem_free(state);
|
||||
|
Loading…
Reference in New Issue
Block a user