include 'err' label only when it is actually used
authorBodo Möller <bodo@openssl.org>
Fri, 17 Nov 2000 13:08:57 +0000 (13:08 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 17 Nov 2000 13:08:57 +0000 (13:08 +0000)
ssl/ssl_cert.c

index c26df62c207addc4b89ec0f3b689b5d85867e106..27e7fcc60ae74b57ffa55d6ed44f09b856c8fe7f 100644 (file)
@@ -271,7 +271,9 @@ CERT *ssl_cert_dup(CERT *cert)
 
        return(ret);
        
+#ifndef NO_DH /* avoid 'unreferenced label' warning if NO_DH is defined */
 err:
+#endif
 #ifndef NO_RSA
        if (ret->rsa_tmp != NULL)
                RSA_free(ret->rsa_tmp);