In file included from /usr/include/openssl/aes.h:13:0,
from crypto.h:86,
from crypto.c:24:
/usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported
# error OPENSSL_ALGORITHM_DEFINES no longer supported
^~~~~
crypto.c:91:2: warning: #warning ** openssl lacks IDEA support. Using deprecated static support code. Update your openssl package. [-Wcpp]
#warning ** openssl lacks IDEA support. Using deprecated static support code. Update your openssl package.
^~~~~~~
In file included from crypto.h:39:0,
from crypto.c:24:
crypto-bn.h:34:10: error: field ‘big’ has incomplete type ‘BIGNUM {aka bignum_st}’
BIGNUM big;
^~~
In file included from /usr/include/openssl/bn.h:32:0,
from crypto-bn.h:23,
from crypto.h:39,
from crypto.c:24:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
typedef struct bignum_st BIGNUM;
^~~~~~~~~
In file included from crypto.h:39:0,
from crypto.c:24:
crypto-bn.h: In constructor ‘cBN::cBN()’:
crypto-bn.h:36:15: error: ‘BN_init’ was not declared in this scope
cBN(void) { BN_init(&big); }
^~~~~~~
crypto-bn.h:36:15: note: suggested alternative: ‘BN_print’
cBN(void) { BN_init(&big); }
^~~~~~~
BN_print
Makefile:97: recipe for target 'crypto.o' failed
make[1]: *** [crypto.o] Error 1