Bug 1420060, restrict export of symbols to Windows, suggested by Masatoshi Kimura, r=kaie
authorKai Engert <kaie@kuix.de>
Thu, 11 Jan 2018 15:04:17 +0100
changeset 398914 35dcf8417877e6cfe7dda378a1c2f3682c3c3af1
parent 398913 ddfff454c810d25532d60ca8a60f0d7a86edb1f8
child 398915 95e2f1556c172a88792415f3a5637f9cbcac2358
push id98862
push userkaie@kuix.de
push dateFri, 12 Jan 2018 10:22:33 +0000
treeherdermozilla-inbound@95e2f1556c17 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskaie
bugs1420060
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1420060, restrict export of symbols to Windows, suggested by Masatoshi Kimura, r=kaie
security/nss.symbols
--- a/security/nss.symbols
+++ b/security/nss.symbols
@@ -270,17 +270,19 @@ NSS_NoDB_Init
 NSS_SecureMemcmp
 NSS_SetAlgorithmPolicy
 NSS_SetDomesticPolicy
 NSS_Shutdown
 NSSSMIME_GetVersion
 NSS_SMIMESignerInfo_SaveSMIMEProfile
 NSS_SMIMEUtil_FindBulkAlgForRecipients
 NSSSSL_GetVersion
+#ifdef XP_WIN
 _NSSUTIL_Access
+#endif
 NSSUTIL_ArgDecodeNumber
 NSSUTIL_ArgFetchValue
 NSSUTIL_ArgGetLabel
 NSSUTIL_ArgGetParamValue
 NSSUTIL_ArgHasFlag
 NSSUTIL_ArgIsBlank
 NSSUTIL_ArgParseCipherFlags
 NSSUTIL_ArgParseModuleSpec
@@ -292,17 +294,19 @@ NSSUTIL_ArgStrip
 NSSUTIL_DoModuleDBFunction
 _NSSUTIL_EvaluateConfigDir
 _NSSUTIL_GetSecmodName
 NSSUTIL_GetVersion
 NSSUTIL_MkModuleSpec
 NSSUTIL_MkNSSString
 NSSUTIL_MkSlotString
 NSSUTIL_Quote
+#ifdef XP_WIN
 _NSSUTIL_UTF8ToWide
+#endif
 PK11_AlgtagToMechanism
 PK11_Authenticate
 PK11_ChangePW
 PK11_CheckUserPassword
 PK11_CipherOp
 PK11_ConfigurePKCS11
 PK11_CreateContextBySymKey
 PK11_CreateDigestContext