DISABLE_OCSP_STAPLING has to be defined as well, since boring does not
seem to have it.
*/
#pragma once
+#include <unordered_map>
+
#include "config.h"
#include "dnscrypt.hh"
#include "dnsname.hh"
AC_DEFUN([DNSDIST_ENABLE_DNS_OVER_QUIC], [
- AC_MSG_CHECKING([whether to enable incoming DNS over QUIC (DoH) support])
+ AC_MSG_CHECKING([whether to enable incoming DNS over QUIC (DoQ) support])
AC_ARG_ENABLE([dns-over-quic],
AS_HELP_STRING([--enable-dns-over-quic], [enable incoming DNS over QUIC (DoQ) support (requires quiche) @<:@default=no@:>@]),
[enable_dns_over_quic=$enableval],
#include <openssl/core.h>
#include <openssl/core_names.h>
#include <openssl/evp.h>
+#else
+#include <openssl/hmac.h>
#endif
#ifdef HAVE_LIBSODIUM
return 1;
}
-static long libssl_server_name_callback(SSL* ssl, int* al, void* arg)
+static int libssl_server_name_callback(SSL* ssl, int* al, void* arg)
{
(void) al;
(void) arg;