]> The Tcpdump Group git mirrors - libpcap/blobdiff - sslutils.h
CI: Call print_so_deps() on rpcapd in remote enabled build
[libpcap] / sslutils.h
index dd9a55566dc736321a4edc10c9df652769dac900..3a36c61b7f228e7c8f321921419c4ec71e0bca66 100644 (file)
 
 #ifdef HAVE_OPENSSL
 #include "pcap/socket.h"  // for PCAP_SOCKET
+// If this is OpenSSL 1.0, at least one header may trigger a -Wdocumentation
+// in Clang, which should not be a problem of this header or a file that
+// includes it.
+#include "diag-control.h"
+DIAG_OFF_DOCUMENTATION
 #include <openssl/ssl.h>
 #include <openssl/err.h>
+DIAG_ON_DOCUMENTATION
 
 /*
  * Utility functions