]> git.ipfire.org Git - thirdparty/ldns.git/commit
keys.c: fix build with libressl >= 3.8.1 227/head
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 26 Nov 2023 22:38:14 +0000 (23:38 +0100)
committerFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 26 Nov 2023 22:41:01 +0000 (23:41 +0100)
commit681cb309620e44d3d4d96494554e19bcab0b6f9d
tree69d1373b4e82cc9dd720ea6203c9c821347dd7b9
parent26333cc5673f0bddb865be52a802c915ab1ca9f4
keys.c: fix build with libressl >= 3.8.1

libressl >= 3.8.1 removed ENGINE support:
"ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
of this, some stub functions are provided to avoid patching some
applications that do not honor OPENSSL_NO_ENGINE."
resulting in the following build failure with gost:

./keys.c:167:35: error: 'ENGINE_METHOD_ALL' undeclared (first use in this function)
  167 |         if(!ENGINE_set_default(e, ENGINE_METHOD_ALL)) {
      |                                   ^~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/37cc05b78a7004caa1b45d896121f059a4f8ca00

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
keys.c