forked from Mirrors/freeswitch
CID:1215201 Explicit null dereferenced
This commit is contained in:
parent
c768e4b6e6
commit
b5a223cd1b
|
@ -1 +1 @@
|
|||
Tue May 20 23:17:55 CDT 2014
|
||||
Thu May 22 15:39:33 UTC 2014
|
||||
|
|
|
@ -368,7 +368,6 @@ static int tport_ws_init_primary_secure(tport_primary_t *pri,
|
|||
chain = su_sprintf(autohome, "%s/%s", path, "ca-bundle.crt");
|
||||
if (access(chain, R_OK) != 0) chain = NULL;
|
||||
|
||||
if (access(cert, R_OK) != 0) cert = NULL;
|
||||
if ( !key ) key = su_sprintf(autohome, "%s/%s", path, "wss.pem");
|
||||
if ( !cert ) cert = su_sprintf(autohome, "%s/%s", path, "wss.pem");
|
||||
if ( !chain ) chain = su_sprintf(autohome, "%s/%s", path, "wss.pem");
|
||||
|
|
Loading…
Reference in New Issue