File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ var localServerStartCmd = &console.Command{
72
72
& console.StringFlag {
73
73
Name : "tls-key-log-file" ,
74
74
Usage : "Destination for TLS master secrets in NSS key log format" ,
75
+ // If 'SSLKEYLOGFILE' environment variable is set, uses this as a
76
+ // destination of TLS key log. In this context, the name
77
+ // 'SSLKEYLOGFILE' is common, so using 'SSL' instead of 'TLS' name.
78
+ // This environment variable is preferred than the key log file
79
+ // from the console argument.
80
+ EnvVars : []string {"SSLKEYLOGFILE" },
75
81
},
76
82
},
77
83
Action : func (c * console.Context ) error {
@@ -174,13 +180,6 @@ var localServerStartCmd = &console.Command{
174
180
}
175
181
}
176
182
177
- // If 'SSLKEYLOGFILE' environment variable is set, uses this as a destination of TLS key log.
178
- // In this context, the name 'SSLKEYLOGFILE' is common, so using 'SSL' instead of 'TLS' name.
179
- // This environment variable is preferred than the key log file from the console argument.
180
- if path := os .Getenv ("SSLKEYLOGFILE" ); path != "" {
181
- config .TlsKeyLogFile = path
182
- }
183
-
184
183
if config .TlsKeyLogFile != "" {
185
184
ui .Warning (localWebServerTlsKeyLogWarningMsg )
186
185
}
You can’t perform that action at this time.
0 commit comments