Bug 539710 - Use char16_t ',' instead of NS_LITERAL_STRING in nsNSSCertificate.cpp. r=dkeeler
authorCykesiopka <cykesiopka.bmo@gmail.com>
Tue, 10 Dec 2013 10:36:31 -0500
changeset 159666 4889070e0eeab737d0bc5ea66b90fc907859372e
parent 159665 59835a0ef577107a64269627a10f867a2d561775
child 159667 418110dd6003198ccafd4c868c33673544554e14
push id37387
push userryanvm@gmail.com
push dateTue, 10 Dec 2013 15:37:51 +0000
treeherdermozilla-inbound@ff6976885129 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdkeeler
bugs539710
milestone29.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 539710 - Use char16_t ',' instead of NS_LITERAL_STRING in nsNSSCertificate.cpp. r=dkeeler
security/manager/ssl/src/nsNSSCertificate.cpp
--- a/security/manager/ssl/src/nsNSSCertificate.cpp
+++ b/security/manager/ssl/src/nsNSSCertificate.cpp
@@ -276,17 +276,17 @@ GetKeyUsagesString(CERTCertificate *cert
       return NS_OK;
     else
       return NS_ERROR_FAILURE;
   }
 
   unsigned char keyUsage = keyUsageItem.data[0];
   nsAutoString local;
   nsresult rv;
-  const PRUnichar *comma = NS_LITERAL_STRING(",").get();
+  const char16_t comma = ',';
 
   if (keyUsage & KU_DIGITAL_SIGNATURE) {
     rv = nssComponent->GetPIPNSSBundleString("CertDumpKUSign", local);
     if (NS_SUCCEEDED(rv)) {
       if (!text.IsEmpty()) text.Append(comma);
       text.Append(local.get());
     }
   }