diff options
author | Matt Caswell <matt@openssl.org> | 2014-11-18 16:54:07 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-12-16 14:13:45 +0000 |
commit | af6e2d51bfeabbae827030d4c9d58a8f7477c4a0 (patch) | |
tree | c1850f479f5f20ad94fa1c6d99ca943ac0be410c /ssl/t1_lib.c | |
parent | 55e530265a7ea8f264717a4e37338cc04eca2007 (diff) |
Add OPENSSL_NO_ECDH guards
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 8d5fd12903..f0291b115f 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -828,6 +828,7 @@ static int tls1_check_cert_param(SSL *s, X509 *x, int set_ee_md) } return rv; } +#ifndef OPENSSL_NO_ECDH /* Check EC temporary key is compatible with client extensions */ int tls1_check_ec_tmp_key(SSL *s, unsigned long cid) { @@ -894,6 +895,7 @@ int tls1_check_ec_tmp_key(SSL *s, unsigned long cid) return tls1_check_ec_key(s, curve_id, NULL); #endif } +#endif /* OPENSSL_NO_ECDH */ #else |