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 <mayank.h@samsung.com>
This commit is contained in:
MAYANK HAARIT 2015-06-03 05:39:34 +00:00 committed by Jouni Malinen
parent d4518fe8ed
commit 92f190a0ac

View file

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