|
@@ -2687,7 +2687,7 @@ static int openssl_get_keyblock_size(SSL *ssl)
|
|
#if OPENSSL_VERSION_NUMBER >= 0x00909000L
|
|
#if OPENSSL_VERSION_NUMBER >= 0x00909000L
|
|
h = EVP_MD_CTX_md(ssl->read_hash);
|
|
h = EVP_MD_CTX_md(ssl->read_hash);
|
|
#else
|
|
#else
|
|
- h = conn->ssl->read_hash;
|
|
|
|
|
|
+ h = ssl->read_hash;
|
|
#endif
|
|
#endif
|
|
if (h)
|
|
if (h)
|
|
md_size = EVP_MD_size(h);
|
|
md_size = EVP_MD_size(h);
|