]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
build on openssl < 1.1.1
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Fri, 1 Feb 2019 12:49:27 +0000 (12:49 +0000)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Fri, 1 Feb 2019 12:54:45 +0000 (12:54 +0000)
src/lib/eap/crypto.c

index 3dd987a486f843bb16c54bfdd688c29d86fe3d2c..4b04f2f8fc43b6ab4552a6f3e52b2c7a8d6e999f 100644 (file)
@@ -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;