]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Stray comma and document some older provider libs do no do validation at all. 10060/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 5 Feb 2021 13:26:19 +0000 (14:26 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 5 Feb 2021 13:27:43 +0000 (14:27 +0100)
docs/manpages/sdig.1.rst
m4/pdns_with_gnutls.m4
pdns/sdig.cc

index 2787d4ca9700fde6fbe54fc940f6a7c3130f3082..14c79fceed7306b59da28e09b6b4154da2e6d7a2 100644 (file)
@@ -46,9 +46,9 @@ insecure
 subjectName *name*
     when using DoT, verify the server certificate is issued for *name*. The `openssl` provider will accept an empty name and still
     make sure the certificate is issued by a trusted CA, `gnutls` will only do the validation if a name is given.
-    Default is the empty name.
+    Default is the empty name. Also, note that older provide libraries might not validate at all.
 caStore *file*
-    when using Dot, read the trusted CA certificates from *file*. Default is to use the system provided CA store.
+    when using DoT, read the trusted CA certificates from *file*. Default is to use the system provided CA store.
 tlsProvider *name*
     when using DoT, use TLS provider *name*. Currently supported (if compiled in): `openssl` and `gnutls`. Default is `openssl` if available.
 xpf *XPFCODE* *XPFVERSION* *XPFPROTO* *XPFSRC* *XPFDST*
index 33ebf4409e094840c038ca1842e7104eaa40fec5..425dce472e7c3e0e2720920a7dbd796958ad664a 100644 (file)
@@ -18,7 +18,7 @@ AC_DEFUN([PDNS_WITH_GNUTLS], [
         save_LIBS=$LIBS
         CFLAGS="$GNUTLS_CFLAGS $CFLAGS"
         LIBS="$GNUTLS_LIBS $LIBS"
-        AC_CHECK_FUNCS([gnutls_memset, gnutls_session_set_verify_cert])
+        AC_CHECK_FUNCS([gnutls_memset gnutls_session_set_verify_cert])
         CFLAGS=$save_CFLAGS
         LIBS=$save_LIBS
 
index 85f05e194302c341f656820d0e74b9129c5c12a9..7b2c7fe87cacef3356706539f3da7073988a9ac9 100644 (file)
@@ -202,7 +202,7 @@ static void printReply(const string& reply, bool showflags, bool hidesoadetails)
 
 int main(int argc, char** argv)
 try {
-    /* default timeout of 10s */
+  /* default timeout of 10s */
   int timeout = 10;
   bool dnssec = false;
   bool recurse = false;