提交 f71165b5 编写于 作者: N Nils Larsch

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

上级 350a404c
...@@ -296,7 +296,7 @@ CERT *ssl_cert_dup(CERT *cert) ...@@ -296,7 +296,7 @@ CERT *ssl_cert_dup(CERT *cert)
return(ret); 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: err:
#endif #endif
#ifndef OPENSSL_NO_RSA #ifndef OPENSSL_NO_RSA
......
...@@ -2234,6 +2234,7 @@ static DH *get_dh1024dsa() ...@@ -2234,6 +2234,7 @@ static DH *get_dh1024dsa()
dh->length = 160; dh->length = 160;
return(dh); return(dh);
} }
#endif
static int do_test_cipherlist(void) static int do_test_cipherlist(void)
{ {
...@@ -2291,4 +2292,3 @@ static int do_test_cipherlist(void) ...@@ -2291,4 +2292,3 @@ static int do_test_cipherlist(void)
return 1; return 1;
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册