MAX_DNS_LABEL_SIZE was only defined for old versions of openssl, which
broke the build. Spotted by xiando. Fixes bug 4413; not in any released
version.
#define DISABLE_ENGINES
#endif
+/** Longest recognized */
+#define MAX_DNS_LABEL_SIZE 63
+
#if OPENSSL_VERSION_NUMBER < 0x00908000l
/** @{ */
/** On OpenSSL versions before 0.9.8, there is no working SHA256
#include "sha256.c"
#define SHA256_Final(a,b) sha256_done(b,a)
-/** Longest recognized */
-#define MAX_DNS_LABEL_SIZE 63
-
static unsigned char *
SHA256(const unsigned char *m, size_t len, unsigned char *d)
{