From: Matthew Newton Date: Fri, 1 Feb 2019 12:49:27 +0000 (+0000) Subject: build on openssl < 1.1.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6321e4b82bf0771d218837679e47efda392950bb;p=thirdparty%2Ffreeradius-server.git build on openssl < 1.1.1 --- diff --git a/src/lib/eap/crypto.c b/src/lib/eap/crypto.c index 3dd987a486f..4b04f2f8fc4 100644 --- a/src/lib/eap/crypto.c +++ b/src/lib/eap/crypto.c @@ -88,7 +88,7 @@ int eap_crypto_mppe_keys(REQUEST *request, SSL *ssl, char const *prf_label, size } int eap_crypto_tls_session_id(TALLOC_CTX *ctx, -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10101000L UNUSED #endif REQUEST *request, SSL *ssl, @@ -97,7 +97,7 @@ int eap_crypto_tls_session_id(TALLOC_CTX *ctx, UNUSED #endif char const *prf_label, -#if OPENSSL_VERSION_NUMBER < 0x10100000L +#if OPENSSL_VERSION_NUMBER < 0x10101000L UNUSED #endif size_t prf_label_len) @@ -143,8 +143,8 @@ int eap_crypto_tls_session_id(TALLOC_CTX *ctx, } } break; - } #endif + } *out = buff; return 0;