Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: nss/lib/softoken/softoken.h

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: nss/lib/softoken/softoken.h
diff --git a/nss/lib/softoken/softoken.h b/nss/lib/softoken/softoken.h
index fbd00b6c7f284eac00373d66706f159ae29a8ffa..5935ea24f5aed7410624e9913459170c102c55b3 100644
--- a/nss/lib/softoken/softoken.h
+++ b/nss/lib/softoken/softoken.h
@@ -152,7 +152,7 @@ extern PRBool sftk_fatalError;
#define FORK_ASSERT() \
{ \
- char* forkAssert = getenv("NSS_STRICT_NOFORK"); \
+ char* forkAssert = PR_GetEnvSecure("NSS_STRICT_NOFORK"); \
if ( (!forkAssert) || (0 == strcmp(forkAssert, "1")) ) { \
PORT_Assert(0); \
} \
@@ -239,7 +239,7 @@ extern PRBool sftkForkCheckDisabled;
#define ENABLE_FORK_CHECK() \
{ \
- char* doForkCheck = getenv("NSS_STRICT_NOFORK"); \
+ char* doForkCheck = PR_GetEnvSecure("NSS_STRICT_NOFORK"); \
if ( doForkCheck && !strcmp(doForkCheck, "DISABLED") ) { \
sftkForkCheckDisabled = PR_TRUE; \
} \
« no previous file with comments | « nss/lib/softoken/softkver.h ('k') | nss/lib/ssl/sslerr.h » ('j') | nss/lib/util/secoid.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698