summaryrefslogtreecommitdiff
path: root/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-11-05 03:49:45 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-11-05 03:49:45 +0000
commit94df8fb894b7365d35a915074c62ebcb25ec1c8b (patch)
tree889f85c79a3d99c3aaf0eeffd72f1a4968d607cc /lib/libssl/t1_lib.c
parentba8eaf01a959a688c053fb89ea21cf96b5e9a961 (diff)
Mop up ecdh_tmp, since it is no longer used.
ok bluhm@ tb@
Diffstat (limited to 'lib/libssl/t1_lib.c')
-rw-r--r--lib/libssl/t1_lib.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c
index 0a00e4da7fb..30305e6b2f9 100644
--- a/lib/libssl/t1_lib.c
+++ b/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t1_lib.c,v 1.144 2018/08/24 18:10:25 jsing Exp $ */
+/* $OpenBSD: t1_lib.c,v 1.145 2018/11/05 03:49:44 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -608,20 +608,11 @@ tls1_check_ec_server_key(SSL *s)
int
tls1_check_ec_tmp_key(SSL *s)
{
- EC_KEY *ec = s->cert->ecdh_tmp;
- uint16_t curve_id;
-
/* Need a shared curve. */
if (tls1_get_shared_curve(s) != NID_undef)
return (1);
- if (ec == NULL)
- return (0);
-
- if (tls1_set_ec_id(&curve_id, NULL, ec) != 1)
- return (0);
-
- return tls1_check_ec_key(s, &curve_id, NULL);
+ return (0);
}
/*