abuild-tar: load engines on openssl < 3

This commit is contained in:
Natanael Copa 2021-09-21 11:29:13 +02:00
parent dc99ce423a
commit 272c1e4780

View File

@ -376,6 +376,10 @@ int main(int argc, char **argv)
int ndx;
OpenSSL_add_all_algorithms();
#if defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR < 3
ENGINE_load_builtin_engines();
ENGINE_register_all_complete();
#endif
while (getopt_long(argc, argv, "", options, &ndx) != -1) {
if (ndx == 0)