]> git.ipfire.org Git - thirdparty/hostap.git/commit
tls_openssl: Store TLS context per-connection
authorPaul Stewart <pstew@chromium.org>
Thu, 9 May 2013 21:22:08 +0000 (00:22 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 9 May 2013 21:22:08 +0000 (00:22 +0300)
commit7c0e1e27575cd273f928fd4820047cba0322718c
tree1818e6521d5a8181f218f092e128b8b711a869d3
parent732118eca386ddf1084c1db12e6754ea7ae8aaef
tls_openssl: Store TLS context per-connection

Store context for each tls_init() caller, so events are generated for
the correct wpa_s instance. The tls_global variable is retained for
older OpenSSL implementations that may not have app-data for SSL_CTX.

Signed-hostap: Paul Stewart <pstew@chromium.org>
src/crypto/tls_openssl.c