[axtls-general] TLS handshake failed error
Brought to you by:
cameronrich
From: Shiro K. <shi...@gm...> - 2016-08-22 03:19:34
|
axTLS 2.0.0 fails to connect some server with SSL_ERROR_INVALID_HANDSHAKE. (One of such servers we're aware of is https://account.nicovideo.jp/ ) This patch appears to fix that (provided by a user of Gauche, https://github.com/shirok/Gauche/pull/227 ) ================================= --- ssl/tls1_clnt.c (revision 269) +++ ssl/tls1_clnt.c (working copy) @@ -311,7 +311,7 @@ offset += 2; // ignore compression PARANOIA_CHECK(pkt_size, offset); - ssl->dc->bm_proc_index = offset+1; + ssl->dc->bm_proc_index = offset; PARANOIA_CHECK(pkt_size, offset); // no extensions ================================== |