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);