I was experimenting with some ~2005 C code (using OpenSSL 0.9.8, I think) and I tried make
-ing it with OpenSSL 3.0.2 on Ubuntu 22.04.
Minimum example:
#include <openssl/bn.h>
struct fraction
{
BIGNUM numerator;
BIGNUM denominator;
}
Expected: everything builds, just as intended.
Actual: complier complains about incomplete type declaration for both fields.
Why does this happen? Is this not a valid declaration? Or is it something else?