summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-04-25 14:11:23 -0400
committerNick Mathewson <nickm@torproject.org>2017-05-09 10:30:52 -0400
commit039e2a24da522f483909e0eb55f963dce6e3b0e5 (patch)
treea60ac06bf84084532d98b3e5d0c02ebf55ade10e /src/or/router.c
parent8aedc589edf78a75092868192869fe84b5a53816 (diff)
downloadtor-039e2a24da522f483909e0eb55f963dce6e3b0e5.tar.gz
tor-039e2a24da522f483909e0eb55f963dce6e3b0e5.zip
config: Remove TLSECGroup option
Deprecated in 0.2.9.2-alpha, this commits changes it as OBSOLETE() and cleans up the code associated with it. Partially fixes #22060 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/router.c b/src/or/router.c
index ca86c33bd6..ef54921bfe 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -779,12 +779,6 @@ router_initialize_tls_context(void)
int lifetime = options->SSLKeyLifetime;
if (public_server_mode(options))
flags |= TOR_TLS_CTX_IS_PUBLIC_SERVER;
- if (options->TLSECGroup) {
- if (!strcasecmp(options->TLSECGroup, "P256"))
- flags |= TOR_TLS_CTX_USE_ECDHE_P256;
- else if (!strcasecmp(options->TLSECGroup, "P224"))
- flags |= TOR_TLS_CTX_USE_ECDHE_P224;
- }
if (!lifetime) { /* we should guess a good ssl cert lifetime */
/* choose between 5 and 365 days, and round to the day */