Package: cfengine3
Version: 3.15.2-3

Hi,

cfengine3 fails to build with OpenSSL 3.0 beta 1 with the
following error:
In file included from hash.c:33:
./hash.h:64:28: error: unknown type name RSA
   64 | Hash *HashNewFromKey(const RSA *rsa, HashMethod method);
      |                            ^~~
./hash.h:163:23: error: unknown type name RSA
  163 | void HashPubKey(const RSA *key, unsigned char digest[EVP_MAX_MD_SIZE + 
1], HashMethod type);
      |                       ^~~
hash.c:214:28: error: unknown type name RSA
  214 | Hash *HashNewFromKey(const RSA *rsa, HashMethod method)
      |                            ^~~
hash.c: In function HashNewFromKey:
hash.c:226:5: error: implicit declaration of function RSA_get0_key 
[-Werror=implicit-function-declaration]
  226 |     RSA_get0_key(rsa, &n, &e, NULL);
      |     ^~~~~~~~~~~~
hash.c: At top level:
hash.c:531:11: error: unknown type name RSA
  531 |     const RSA *const key,
      |           ^~~
cc1: some warnings being treated as errors

Those functions and types are deprecated, and libntech/configure.ac
seems to OPENSSL_NO_DEPRECATED.


Kurt

Reply via email to