Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
fix no-dh configure option; patch supplied by Peter Meerwald
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Larsch committed Feb 24, 2006
1 parent 350a404 commit f71165b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ssl/ssl_cert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ssl/ssltest.c
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,7 @@ static DH *get_dh1024dsa()
dh->length = 160;
return(dh);
}
#endif

static int do_test_cipherlist(void)
{
Expand Down Expand Up @@ -2291,4 +2292,3 @@ static int do_test_cipherlist(void)

return 1;
}
#endif

0 comments on commit f71165b

Please sign in to comment.