Commit 23ea0a45 authored by J.C. Jones's avatar J.C. Jones

Bug 1614786 - Fixup for ‘getFIPSEnv’ being unused r=kjacobs

Fixes a regression from Bug 1582169

../../lib/sysinit/nsssysinit.c:153:1: error: ‘getFIPSEnv’ defined but not used [-Werror=unused-function]

--HG--
extra : amend_source : b1dcbe0ce8eab20cc5cc46c5bd0a88908dceb8bb
parent 15011aaf
......@@ -149,6 +149,7 @@ userCanModifySystemDB()
return (access(NSS_DEFAULT_SYSTEM, W_OK) == 0);
}
#ifndef NSS_FIPS_DISABLED
static PRBool
getFIPSEnv(void)
{
......@@ -164,6 +165,7 @@ getFIPSEnv(void)
}
return PR_FALSE;
}
#endif /* NSS_FIPS_DISABLED */
static PRBool
getFIPSMode(void)
......@@ -189,7 +191,7 @@ getFIPSMode(void)
return PR_TRUE;
#else
return PR_FALSE;
#endif
#endif /* NSS_FIPS_DISABLED */
}
#define NSS_DEFAULT_FLAGS "flags=readonly"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment