File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -871,7 +871,7 @@ function Server(options, listener) {
871
871
// Handle option defaults:
872
872
this . setOptions ( options ) ;
873
873
874
- var sharedCreds = tls . createSecureContext ( {
874
+ this . _sharedCreds = tls . createSecureContext ( {
875
875
pfx : this . pfx ,
876
876
key : this . key ,
877
877
passphrase : this . passphrase ,
@@ -887,7 +887,6 @@ function Server(options, listener) {
887
887
crl : this . crl ,
888
888
sessionIdContext : this . sessionIdContext
889
889
} ) ;
890
- this . _sharedCreds = sharedCreds ;
891
890
892
891
this [ kHandshakeTimeout ] = options . handshakeTimeout || ( 120 * 1000 ) ;
893
892
this [ kSNICallback ] = options . SNICallback ;
@@ -898,11 +897,11 @@ function Server(options, listener) {
898
897
}
899
898
900
899
if ( this . sessionTimeout ) {
901
- sharedCreds . context . setSessionTimeout ( this . sessionTimeout ) ;
900
+ this . _sharedCreds . context . setSessionTimeout ( this . sessionTimeout ) ;
902
901
}
903
902
904
903
if ( this . ticketKeys ) {
905
- sharedCreds . context . setTicketKeys ( this . ticketKeys ) ;
904
+ this . _sharedCreds . context . setTicketKeys ( this . ticketKeys ) ;
906
905
}
907
906
908
907
// constructor call
You can’t perform that action at this time.
0 commit comments