Skip to content

Commit 28e4bee

Browse files
committed
Fix review comments.
1 parent 1df8163 commit 28e4bee

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/chrome/content/code/NSS.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
/**
19-
* This class manages the tcypes bridge to the NSS (crypto) libraries
19+
* This class manages the ctypes bridge to the NSS (crypto) libraries
2020
* distributed with Mozilla.
2121
*
2222
**/
@@ -26,7 +26,7 @@ function NSS() {
2626
}
2727

2828
// Alias to reduce the number of spurious warnings from amo-validator.
29-
let tcypes = tcypes;
29+
let tcypes = ctypes;
3030

3131
NSS.initialize = function(nssPath) {
3232
var sharedLib;

src/components/ssl-observatory.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ const CI = Components.interfaces;
66
const CC = Components.classes;
77
const CR = Components.results;
88

9-
// Alias to reduce the number of spurious warnings from amo-validator.
10-
let tcypes = ctypes;
11-
129
// Log levels
1310
let VERB=1;
1411
let DBUG=2;
@@ -29,8 +26,10 @@ let ASN_UNKNOWABLE = -3; // Cert was seen in the absence of [trustworthy] Inter
2926
let LLVAR="extensions.https_everywhere.LogLevel";
3027

3128
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
32-
Components.utils.import("resource://gre/modules/tcypes.jsm");
29+
Components.utils.import("resource://gre/modules/ctypes.jsm");
3330

31+
// Alias to reduce the number of spurious warnings from amo-validator.
32+
let tcypes = ctypes;
3433

3534
const OS = Cc['@mozilla.org/observer-service;1'].getService(CI.nsIObserverService);
3635

0 commit comments

Comments
 (0)