summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-15 18:01:51 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 15:26:49 +0200
commitc14bb310ce237c375a5cf4a89e7689ddfbf016c5 (patch)
tree0551fe2ac349660e93fcd19547a30e2b10b1e0f2 /security
parentccee5c781bb622d3edd3ac3067bae12af41587f8 (diff)
downloaduxp-c14bb310ce237c375a5cf4a89e7689ddfbf016c5.tar.gz
Issue #1053 - Clean up docs and some code comments.
Polish only, no code changes.
Diffstat (limited to 'security')
-rw-r--r--security/manager/ssl/nsNSSComponent.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/security/manager/ssl/nsNSSComponent.cpp b/security/manager/ssl/nsNSSComponent.cpp
index b9f8b6e21d..7880959c9f 100644
--- a/security/manager/ssl/nsNSSComponent.cpp
+++ b/security/manager/ssl/nsNSSComponent.cpp
@@ -1128,13 +1128,9 @@ nsNSSComponent::LoadLoadableRoots()
nsAutoString modName;
nsresult rv = GetPIPNSSBundleString("RootCertModuleName", modName);
if (NS_FAILED(rv)) {
- // When running Cpp unit tests on Android, this will fail because string
- // bundles aren't available (see bug 1311077, bug 1228175 comment 12, and
- // bug 929655). Because the module name is really only for display purposes,
- // we can just hard-code the value here. Furthermore, if we want to be able
- // to stop using string bundles in PSM in this way, we'll have to hard-code
- // the string and only use the localized version when displaying it to the
- // user, so this is a step in that direction anyway.
+ // If we want to be able to stop using string bundles in PSM, we'll have to
+ // hard-code the string and only use the localized version when displaying
+ // it to the user, so this is a step in that direction anyway.
modName.AssignLiteral("Builtin Roots Module");
}