From: Bodo Möller Date: Thu, 22 Mar 2001 14:59:18 +0000 (+0000) Subject: Avoid compiler warning for NO_DH as in the main trunk. X-Git-Tag: OpenSSL_0_9_6a-beta3~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6ebcd441d645398c800862af1b3db279ce7dd0e1;p=oweals%2Fopenssl.git Avoid compiler warning for NO_DH as in the main trunk. --- diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index c26df62c20..a1c4500c22 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -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);