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/app/main/main.c | |
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/app/main/main.c')
-rw-r--r-- | src/app/main/main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c index fad2e0b62f..6029ed3d2d 100644 --- a/src/app/main/main.c +++ b/src/app/main/main.c @@ -592,9 +592,6 @@ tor_init(int argc, char *argv[]) return 1; } - /* The options are now initialised */ - const or_options_t *options = get_options(); - /* Initialize channelpadding and circpad parameters to defaults * until we get a consensus */ channelpadding_new_consensus_params(NULL); @@ -616,13 +613,6 @@ tor_init(int argc, char *argv[]) "and you probably shouldn't."); #endif - if (crypto_global_init(options->HardwareAccel, - options->AccelName, - options->AccelDir)) { - log_err(LD_BUG, "Unable to initialize OpenSSL. Exiting."); - return -1; - } - /* Scan/clean unparseable descriptors; after reading config */ routerparse_init(); |