summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-13 14:28:52 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-13 14:28:52 +0300
commitb30024d2bd5a4d91a9efacdadfd02d7c9a7839f4 (patch)
treebbef6a71b8c900148fd6a1c4c433ab7219eaa1d6 /src/apk.c
parent3cbccbaf99fde94477f1a32a7f4dab36d061e2ca (diff)
downloadapk-tools-b30024d2bd5a4d91a9efacdadfd02d7c9a7839f4.tar.gz
apk-tools-b30024d2bd5a4d91a9efacdadfd02d7c9a7839f4.tar.bz2
apk-tools-b30024d2bd5a4d91a9efacdadfd02d7c9a7839f4.tar.xz
apk-tools-b30024d2bd5a4d91a9efacdadfd02d7c9a7839f4.zip
openssl: register engines, and use oneshot digest when possible
to actually get hardware acceleration if available.
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk.c b/src/apk.c
index 93be9df..cd6cd91 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -255,6 +255,7 @@ static void init_openssl(void)
OpenSSL_add_all_algorithms();
#ifndef OPENSSL_NO_ENGINE
ENGINE_load_builtin_engines();
+ ENGINE_register_all_complete();
#endif
}