libwebsockets/lib
Larry Hayes 455d1fed06 ssl client certs fix crash
I run a web socket server that requires clients to present a certificate.

context_ssl_ = libwebsocket_create_context(wssPort_, wssIpAddr_.c_str(), protocols_ssl,

                           libwebsocket_internal_extensions,

                           cert_path.c_str(), key_path.c_str(), -1, -1,

		LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT);

I am getting a crash in the OpenSSL_verify_callback().

The SSL_get_ex_data() call is returning NULL

I could not find a call to SSL_set_ex_data() for server mode operation.

Has anyone seen this crash in the newer versions?

Signed-off-by: Larry Hayes <larry.hayes@prodeasystems.com>
2013-01-15 01:03:58 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
client-handshake.c audit and make all malloc check for OOM 2013-01-12 13:21:08 +08:00
extension-deflate-frame.c expose compiletime constants to setting from configure 2013-01-12 23:42:17 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
extension-deflate-stream.h Fixed deflate-stream extension. 2013-01-09 18:17:42 +08:00
extension-x-google-mux.c audit and make all malloc check for OOM 2013-01-12 13:21:08 +08:00
extension-x-google-mux.h Use __inline for Win32 builds. 2013-01-10 10:07:16 +08:00
extension.c Added extension "deflate-frame". 2013-01-09 18:21:33 +08:00
getifaddrs.c introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
getifaddrs.h introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
handshake.c audit and make all malloc check for OOM 2013-01-12 13:21:08 +08:00
libwebsockets.c ssl client certs fix crash 2013-01-15 01:03:58 +08:00
libwebsockets.h absorb README.rst into main README and code 2013-01-13 09:53:18 +08:00
Makefile.am introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
md5.c introduce-private-md5-sha1.patch 2011-01-23 17:47:08 +00:00
parsers.c audit and make all malloc check for OOM 2013-01-12 13:21:08 +08:00
private-libwebsockets.h expose compiletime constants to setting from configure 2013-01-12 23:42:17 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00