Browse Source

[ssl] fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2822 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.31
Stefan Bühler 11 years ago
parent
commit
d194c09da9
  1. 2
      NEWS
  2. 2
      src/connections.c

2
NEWS

@ -4,7 +4,7 @@ NEWS
====
- 1.4.31 -
*
* [ssl] fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI
- 1.4.30 - 2011-12-18
* Always use our 'own' md5 implementation, fixes linking issues on MacOS (fixes #2331)

2
src/connections.c

@ -1360,9 +1360,7 @@ connection *connection_accept(server *srv, server_socket *srv_socket) {
}
con->renegotiations = 0;
#ifndef OPENSSL_NO_TLSEXT
SSL_set_app_data(con->ssl, con);
#endif
SSL_set_accept_state(con->ssl);
con->conf.is_ssl=1;

Loading…
Cancel
Save