1
0
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:
Witold Filipczyk 2015-07-01 16:23:19 +02:00
parent 3688bb9c61
commit e015e2be21
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);