fix no-dh configure option; patch supplied by Peter Meerwald

This commit is contained in:
Nils Larsch 2006-02-24 17:58:43 +00:00
parent 350a404cb8
commit f71165b556
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ CERT *ssl_cert_dup(CERT *cert)
return(ret);
#ifndef OPENSSL_NO_DH /* avoid 'unreferenced label' warning if OPENSSL_NO_DH is defined */
#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_ECDH)
err:
#endif
#ifndef OPENSSL_NO_RSA

View File

@ -2234,6 +2234,7 @@ static DH *get_dh1024dsa()
dh->length = 160;
return(dh);
}
#endif
static int do_test_cipherlist(void)
{
@ -2291,4 +2292,3 @@ static int do_test_cipherlist(void)
return 1;
}
#endif