]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID:1215201 Explicit null dereferenced
authorMichael Jerris <mike@jerris.com>
Thu, 22 May 2014 15:39:59 +0000 (15:39 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 22 May 2014 15:39:59 +0000 (15:39 +0000)
libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c

index caa693566dc77136fe56bcdcfeba2f0ab4b7adee..f85032292fd946dc8afbe3bcc0a8663806565640 100644 (file)
@@ -1 +1 @@
-Tue May 20 23:17:55 CDT 2014
+Thu May 22 15:39:33 UTC 2014
index 5dddccdf0e2f34889f642881ed563bac45ea0eb0..265eef23834d21913e12a92422282667e93d5907 100644 (file)
@@ -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");