diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-26 18:05:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-11-07 07:28:43 -0500 |
commit | 8cd3e66d93a7b3f61afc3bc0c8868fb50c85af22 (patch) | |
tree | 03f567e7ba8d2fb328d6d07dd0c8453036f5f3a6 /src/feature | |
parent | b06e9d8ad58bfe11d2c1f6a921ba059658a578f2 (diff) | |
download | tor-8cd3e66d93a7b3f61afc3bc0c8868fb50c85af22.tar.gz tor-8cd3e66d93a7b3f61afc3bc0c8868fb50c85af22.zip |
Use new configuration architecture for crypto options
This is a comparatively simple change.
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/relay/router.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c index 7f80b288de..410ed8c2f3 100644 --- a/src/feature/relay/router.c +++ b/src/feature/relay/router.c @@ -887,15 +887,6 @@ init_keys_common(void) if (!key_lock) key_lock = tor_mutex_new(); - /* There are a couple of paths that put us here before we've asked - * openssl to initialize itself. */ - if (crypto_global_init(get_options()->HardwareAccel, - get_options()->AccelName, - get_options()->AccelDir)) { - log_err(LD_BUG, "Unable to initialize OpenSSL. Exiting."); - return -1; - } - return 0; } |