File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,13 @@ function NSS() {
2525
2626}
2727
28- NSS . initialize = function ( nssPath ) {
28+ NSS . initialize = function ( ) {
2929 var sharedLib ;
3030
31- try {
32- sharedLib = tcypes . open ( nssPath ) ;
33- } catch ( e ) {
34- Components . utils . import ( "resource://gre/modules/Services.jsm" ) ;
35- var nssFile = Services . dirsvc . get ( "GreD" , Ci . nsILocalFile ) ;
36- nssFile . append ( tcypes . libraryName ( "nss3" ) ) ;
37- sharedLib = tcypes . open ( nssFile . path ) ;
38- }
31+ Components . utils . import ( "resource://gre/modules/Services.jsm" ) ;
32+ var nssFile = Services . dirsvc . get ( "GreD" , Ci . nsILocalFile ) ;
33+ nssFile . append ( tcypes . libraryName ( "nss3" ) ) ;
34+ sharedLib = tcypes . open ( nssFile . path ) ;
3935
4036 NSS . types = new Object ( ) ;
4137
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ function SSLObservatory() {
123123 this . setupASNWatcher ( ) ;
124124
125125 try {
126- NSS . initialize ( "" ) ;
126+ NSS . initialize ( ) ;
127127 } catch ( e ) {
128128 this . log ( WARN , "Failed to initialize NSS component:" + e ) ;
129129 }
You can’t perform that action at this time.
0 commit comments