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
1 changed files with 1 additions and 1 deletions

View File

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