apache
Field fips is not declared when !HAVE_FIPS.
The file ssl_private.h defines a struct named SSLSrvConfigRec. Some elements of this struct are optional, including fips. The definition and use are in different files. fips is not declared when !HAVE_FIPS.
Bug fixed by commit 6338509eb37
Type | UndeclaredIdentifier |
Config | "!HAVE_FIPS" (1st degree) |
Fix-in | code |
Location | modules/ssl/ |
#include <stdio.h> #ifdef HAVE_FIPS int fips; #endif void ssl_init_Module() { if (fips == 0) printf("Something"); } int main(void) { ssl_init_Module(); return 0; }
. // if HAVE_FIPS is disabled . ERROR modules/ssl/ssl_engine_init.c:237:if(sc->fips == UNSET)