summaryrefslogtreecommitdiffstats
path: root/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-24 12:24:07 +0000
committerjsing <jsing@openbsd.org>2017-01-24 12:24:07 +0000
commit8a42937c646c7b20733890b686f61eb507227499 (patch)
treefe0d0a7c0c182670ea9792f6bfe13648bbee3007 /lib/libssl/t1_lib.c
parentRemove unused cert variable. (diff)
downloadwireguard-openbsd-8a42937c646c7b20733890b686f61eb507227499.tar.xz
wireguard-openbsd-8a42937c646c7b20733890b686f61eb507227499.zip
#if 0 the ecformats_list and eccurves_list - these are currently unused but
will be revisited at some point in the near future.
Diffstat (limited to 'lib/libssl/t1_lib.c')
-rw-r--r--lib/libssl/t1_lib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libssl/t1_lib.c b/lib/libssl/t1_lib.c
index be7c5b72a92..23e1a2d350c 100644
--- a/lib/libssl/t1_lib.c
+++ b/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t1_lib.c,v 1.109 2017/01/24 09:03:21 jsing Exp $ */
+/* $OpenBSD: t1_lib.c,v 1.110 2017/01/24 12:24:07 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -212,7 +212,6 @@ tls1_clear(SSL *s)
s->version = s->method->internal->version;
}
-
static int nid_list[] = {
NID_sect163k1, /* sect163k1 (1) */
NID_sect163r1, /* sect163r1 (2) */
@@ -245,16 +244,19 @@ static int nid_list[] = {
NID_X25519, /* X25519 (29) */
};
+#if 0
static const uint8_t ecformats_list[] = {
TLSEXT_ECPOINTFORMAT_uncompressed,
TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime,
TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2
};
+#endif
static const uint8_t ecformats_default[] = {
TLSEXT_ECPOINTFORMAT_uncompressed,
};
+#if 0
static const uint16_t eccurves_list[] = {
29, /* X25519 (29) */
14, /* sect571r1 (14) */
@@ -286,6 +288,7 @@ static const uint16_t eccurves_list[] = {
16, /* secp160r1 (16) */
17, /* secp160r2 (17) */
};
+#endif
static const uint16_t eccurves_default[] = {
29, /* X25519 (29) */