summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorMartin Peck <coder@peertech.org>2009-05-23 16:42:44 -0700
committerMartin Peck <coder@peertech.org>2009-05-23 16:42:44 -0700
commit7703b887f5db0d8d62e9eb87305bb8e2113276f1 (patch)
tree4cf6f080b0f3ac0f70ff2f4e6e35097c41fcecd0 /src/or/main.c
parent75f963e9517ba8702fe1ed1d470e28b0462fb3d2 (diff)
downloadtor-7703b887f5db0d8d62e9eb87305bb8e2113276f1.tar.gz
tor-7703b887f5db0d8d62e9eb87305bb8e2113276f1.zip
Add support for dynamic OpenSSL hardware crypto acceleration engines.
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b151b1f666..456d9fab16 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1818,7 +1818,9 @@ tor_init(int argc, char *argv[])
"and you probably shouldn't.");
#endif
- if (crypto_global_init(get_options()->HardwareAccel)) {
+ if (crypto_global_init(get_options()->HardwareAccel,
+ get_options()->AccelName,
+ get_options()->AccelDir)) {
log_err(LD_BUG, "Unable to initialize OpenSSL. Exiting.");
return -1;
}