--- a/validator/val_secalgo.c +++ a/validator/val_secalgo.c @@ -72,6 +72,14 @@ #include #endif +#ifdef HAVE_OPENSSL_DSA_H +#include +#endif + +#ifdef HAVE_OPENSSL_BN_H +#include +#endif + /** fake DSA support for unit tests */ int fake_dsa = 0; /** fake SHA1 support for unit tests */