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 c26df62..27e7fcc 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);