From 92f190a0acf1d8cfd5fddf12b7c2034a7f37b16a Mon Sep 17 00:00:00 2001 From: MAYANK HAARIT Date: Wed, 3 Jun 2015 05:39:34 +0000 Subject: [PATCH] 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 --- src/crypto/tls_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);