Bug 1529227, Don't export NSS CMS functions not required by Firefox, r=keeler
authorKai Engert <kaie@kuix.de>
Thu, 28 Feb 2019 10:21:31 +0100
changeset 519617 a31acecd037201c9ae8953cb8b0c543fa6eb1ce0
parent 519616 9eb404c0248ec0360f88b1785cfde7b6dec56ed0
child 519618 7a0de0939e2fcc6a3abc11f010fbe5d8ca209cf4
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskeeler
bugs1529227
milestone67.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 1529227, Don't export NSS CMS functions not required by Firefox, r=keeler
security/nss.symbols
--- a/security/nss.symbols
+++ b/security/nss.symbols
@@ -170,70 +170,39 @@ DSAU_DecodeDerSigToLen
 DSAU_EncodeDerSigWithLen
 DTLS_GetHandshakeTimeout
 DTLS_ImportFD
 HASH_Begin
 HASH_Create
 HASH_Destroy
 HASH_End
 HASH_GetHashObject
+HASH_GetHashOidTagByHashType
 HASH_GetType
 HASH_HashBuf
 HASH_ResultLenByOidTag
 HASH_Update
 NSSBase64_EncodeItem_Util
 NSS_CMSContentInfo_GetContent
 NSS_CMSContentInfo_GetContentTypeTag
-NSS_CMSContentInfo_SetContent_Data
-NSS_CMSContentInfo_SetContent_EnvelopedData
 NSS_CMSContentInfo_SetContent_SignedData
-NSS_CMSDecoder_Cancel
-NSS_CMSDecoder_Finish
-NSS_CMSDecoder_Start
-NSS_CMSDecoder_Update
-NSS_CMSEncoder_Cancel
 NSS_CMSEncoder_Finish
 NSS_CMSEncoder_Start
-NSS_CMSEncoder_Update
-NSS_CMSEnvelopedData_AddRecipient
-NSS_CMSEnvelopedData_Create
-NSS_CMSEnvelopedData_GetContentInfo
 NSS_CMSMessage_ContentLevel
-NSS_CMSMessage_ContentLevelCount
 NSS_CMSMessage_Create
 NSS_CMSMessage_CreateFromDER
 NSS_CMSMessage_Destroy
-NSS_CMSMessage_GetContent
 NSS_CMSMessage_GetContentInfo
-NSS_CMSMessage_IsEncrypted
 NSS_CMSMessage_IsSigned
-NSS_CMSRecipientInfo_Create
 NSS_CMSSignedData_AddCertificate
-NSS_CMSSignedData_AddCertList
-NSS_CMSSignedData_AddSignerInfo
-NSS_CMSSignedData_Create
 NSS_CMSSignedData_CreateCertsOnly
 NSS_CMSSignedData_Destroy
-NSS_CMSSignedData_GetContentInfo
-NSS_CMSSignedData_GetDigestAlgs
 NSS_CMSSignedData_GetSignerInfo
-NSS_CMSSignedData_HasDigests
-NSS_CMSSignedData_ImportCerts
-NSS_CMSSignedData_SetDigestValue
 NSS_CMSSignedData_SignerInfoCount
-NSS_CMSSignedData_VerifySignerInfo
-NSS_CMSSignerInfo_AddMSSMIMEEncKeyPrefs
-NSS_CMSSignerInfo_AddSigningTime
-NSS_CMSSignerInfo_AddSMIMECaps
-NSS_CMSSignerInfo_AddSMIMEEncKeyPrefs
-NSS_CMSSignerInfo_Create
-NSS_CMSSignerInfo_GetSignerCommonName
-NSS_CMSSignerInfo_GetSignerEmailAddress
 NSS_CMSSignerInfo_GetSigningCertificate
-NSS_CMSSignerInfo_IncludeCerts
 NSS_CMSSignerInfo_Verify
 NSS_FindCertKEAType
 NSS_GetAlgorithmPolicy
 NSS_Get_CERT_CertificateRequestTemplate
 NSS_Get_CERT_CertificateTemplate
 NSS_Get_CERT_CrlTemplate
 NSS_Get_CERT_NameTemplate
 NSS_Get_CERT_SequenceOfCertExtensionTemplate
@@ -261,16 +230,17 @@ NSS_Get_SECOID_AlgorithmIDTemplate
 NSS_Get_SECOID_AlgorithmIDTemplate_Util
 NSS_Get_SEC_SignedCertificateTemplate
 NSS_Get_SEC_UTF8StringTemplate
 NSS_Get_SEC_UTF8StringTemplate_Util
 NSS_GetVersion
 NSS_Init
 NSS_InitContext
 NSS_Initialize
+NSS_InitReadWrite
 NSS_InitWithMerge
 NSS_IsInitialized
 NSS_OptionGet
 NSS_OptionSet
 NSS_NoDB_Init
 NSS_SecureMemcmp
 NSS_SetAlgorithmPolicy
 NSS_SetDomesticPolicy