summaryrefslogtreecommitdiff
path: root/src/tools
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/tools
parent75f963e9517ba8702fe1ed1d470e28b0462fb3d2 (diff)
downloadtor-7703b887f5db0d8d62e9eb87305bb8e2113276f1.tar.gz
tor-7703b887f5db0d8d62e9eb87305bb8e2113276f1.zip
Add support for dynamic OpenSSL hardware crypto acceleration engines.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-checkkey.c2
-rw-r--r--src/tools/tor-gencert.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tor-checkkey.c b/src/tools/tor-checkkey.c
index b29b52d8db..6416dbfbb3 100644
--- a/src/tools/tor-checkkey.c
+++ b/src/tools/tor-checkkey.c
@@ -29,7 +29,7 @@ int main(int c, char **v)
return 1;
}
- if (crypto_global_init(0)) {
+ if (crypto_global_init(0, NULL, NULL)) {
fprintf(stderr, "Couldn't initialize crypto library.\n");
return 1;
}
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index 4971668c9f..d2ea4eb109 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -496,7 +496,7 @@ main(int argc, char **argv)
init_logging();
/* Don't bother using acceleration. */
- if (crypto_global_init(0)) {
+ if (crypto_global_init(0, NULL, NULL)) {
fprintf(stderr, "Couldn't initialize crypto library.\n");
return 1;
}