]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_core_cert.c
authorAndrey Volk <andywolk@gmail.com>
Fri, 12 Jul 2019 16:39:23 +0000 (20:39 +0400)
committerAndrey Volk <andywolk@gmail.com>
Mon, 15 Jul 2019 19:41:25 +0000 (23:41 +0400)
src/switch_core_cert.c

index 1083a70332c9f007691f686118b19263e0af6ec3..5bcc046fe4fcb29d802880e79b388d24038643e8 100644 (file)
@@ -378,7 +378,6 @@ static int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days
 
        if (!EVP_PKEY_assign_RSA(pk, rsa)) {
                abort();
-               goto err;
        }
 
        rsa = NULL;