]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more compiler fixes
authorAlan T. DeKok <aland@freeradius.org>
Wed, 28 Aug 2019 22:05:38 +0000 (18:05 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 28 Aug 2019 22:05:38 +0000 (18:05 -0400)
src/modules/rlm_pap/rlm_pap.c

index d54a53239e487ca9fc521556c22362e342b6c337..1847a0742d0463112ddab32582341fe9aad2d347 100644 (file)
@@ -298,6 +298,7 @@ static rlm_rcode_t CC_HINT(nonnull) pap_auth_sha(UNUSED rlm_pap_t const *inst, R
        return RLM_MODULE_OK;
 }
 
+#ifdef HAVE_OPENSSL_EVP_H
 static rlm_rcode_t CC_HINT(nonnull) pap_auth_ssha(UNUSED rlm_pap_t const *inst, REQUEST *request,
                                                  VALUE_PAIR *known_good, VALUE_PAIR const *password)
 {
@@ -328,7 +329,6 @@ static rlm_rcode_t CC_HINT(nonnull) pap_auth_ssha(UNUSED rlm_pap_t const *inst,
        return RLM_MODULE_OK;
 }
 
-#ifdef HAVE_OPENSSL_EVP_H
 static rlm_rcode_t CC_HINT(nonnull) pap_auth_sha_evp(UNUSED rlm_pap_t const *inst, REQUEST *request,
                                                     VALUE_PAIR *known_good, VALUE_PAIR const *password)
 {