validns
validns copied to clipboard
build fails on Red Hat Enterprise Linux 8
[root@d59634ac316b validns]# rpm -q Judy-devel Judy-devel-1.0.5-18.module+el8+2765+cfa4f87b.x86_64
[root@d59634ac316b validns]# rpm -q openssl-devel openssl-devel-1.1.1g-15.el8_3.x86_64 [root@d59634ac316b validns]# rpm -q gcc gcc-8.4.1-1.el8.x86_64
rrsig.c:30:16: error: field 'ctx' has incomplete type
EVP_MD_CTX ctx;
^~~
rrsig.c: In function 'rrsig_parse':
rrsig.c:101:63: error: dereferencing pointer to incomplete type 'ECDSA_SIG' {aka 'struct ECDSA_SIG_st'}
if ((BN_bin2bn((unsigned char *)sig.data, l, ecdsa_sig->r) == NULL) ||
^~
At top level:
rrsig.c:410:13: error: 'pthreads_locking_callback' defined but not used [-Werror=unused-function]
static void pthreads_locking_callback(int mode, int type, char *file, int line)
^~~~~~~~~~~~~~~~~~~~~~~~~
rrsig.c:402:22: error: 'pthreads_thread_id' defined but not used [-Werror=unused-function]
static unsigned long pthreads_thread_id(void)
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:136: rrsig.o] Error 1
make: *** Waiting for unfinished jobs....
dnskey.c: In function 'dnskey_build_pkey':
dnskey.c:180:12: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'}
rsa->e = BN_bin2bn(pk, e_bytes, NULL);
^~
make: *** [Makefile:142: dnskey.o] Error 1