From: MAYANK HAARIT Date: Wed, 3 Jun 2015 05:39:34 +0000 (+0000) Subject: OpenSSL: Fix build iwth OpenSSL 0.9.8 X-Git-Tag: hostap_2_5~676 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92f190a0acf1d8cfd5fddf12b7c2034a7f37b16a;p=thirdparty%2Fhostap.git OpenSSL: Fix build iwth OpenSSL 0.9.8 The OPENSSL_VERSION_NUMBER < 0x00909000L case of openssl_get_keyblock_size() had not been kept in sync with the cleanup changes. Signed-off-by: Mayank Haarit --- diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c index 5d4795a12..db3bc5bd7 100644 --- a/src/crypto/tls_openssl.c +++ b/src/crypto/tls_openssl.c @@ -2687,7 +2687,7 @@ static int openssl_get_keyblock_size(SSL *ssl) #if OPENSSL_VERSION_NUMBER >= 0x00909000L h = EVP_MD_CTX_md(ssl->read_hash); #else - h = conn->ssl->read_hash; + h = ssl->read_hash; #endif if (h) md_size = EVP_MD_size(h);