Avoid compiler warning for NO_DH as in the main trunk.
authorBodo Möller <bodo@openssl.org>
Thu, 22 Mar 2001 14:59:18 +0000 (14:59 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 22 Mar 2001 14:59:18 +0000 (14:59 +0000)
ssl/ssl_cert.c

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