]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
main: Load OpenSSL engines
authorRosen Penev <rosenp@gmail.com>
Mon, 19 Nov 2018 23:09:37 +0000 (15:09 -0800)
committerJaroslav Kysela <perex@perex.cz>
Wed, 21 Nov 2018 09:02:46 +0000 (10:02 +0100)
src/main.c

index 8b5c51a1c99bab9ba57343b07f9f82fd9cc15e72..1ed301ac814336e5d81da112cc265c0dfdb98165 100644 (file)
@@ -1171,6 +1171,11 @@ main(int argc, char **argv)
   SSL_library_init();
 #endif
 
+#ifndef OPENSSL_NO_ENGINE
+  /* ENGINE init */
+  ENGINE_load_builtin_engines();
+#endif
+
   /* Rand seed */
   randseed.thread_id = (void *)main_tid;
   gettimeofday(&randseed.tv, NULL);