Commit 62e53243 authored by J.C. Jones's avatar J.C. Jones

Bug 1515236 - Initialize debug environment variables before use r=mt

--HG--
extra : absorb_source : aeee541b597aa92490099bacc93894ead41985d8
extra : transplant_source : %0B%B2x%1D%CC%DE%E6%A7%28%17%D8%EA%8F%E56%60%21%D9%26%94
parent 81a6712e
......@@ -3644,6 +3644,7 @@ ssl_SetDefaultsFromEnvironment(void)
char *ev;
firsttime = 0;
#ifdef DEBUG
ssl_trace_iob = NULL;
ev = PR_GetEnvSecure("SSLDEBUGFILE");
if (ev && ev[0]) {
ssl_trace_iob = fopen(ev, "w");
......@@ -3665,6 +3666,7 @@ ssl_SetDefaultsFromEnvironment(void)
}
#endif /* DEBUG */
#ifdef NSS_ALLOW_SSLKEYLOGFILE
ssl_keylog_iob = NULL;
ev = PR_GetEnvSecure("SSLKEYLOGFILE");
if (ev && ev[0]) {
ssl_keylog_iob = fopen(ev, "a");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment