libnbd/SOURCES/1000-Update-doc-template-for-tls-verify-peer.patch

40 lines
1.2 KiB
Diff

From 9acc05f757ff7518104c8f232b49230f0503ffa1 Mon Sep 17 00:00:00 2001
From: Alex Burmashev <alexander.burmashev@oracle.com>
Date: Thu, 19 Sep 2024 09:16:31 +0000
Subject: [PATCH] Update doc template for tls-verify-peer
Without this change, docs on i686 are not generated correctly.
Signed-off-by: Alex Burmashev <alexander.burmashev@oracle.com>
---
docs/nbd_connect_uri.pod | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/nbd_connect_uri.pod b/docs/nbd_connect_uri.pod
index 5d7ecdb..9e49e24 100644
--- a/docs/nbd_connect_uri.pod
+++ b/docs/nbd_connect_uri.pod
@@ -119,6 +119,11 @@ Note this is not allowed by default - see next section.
Set the PSK file. See L<nbd_set_tls_psk_file(3)>. Note
this is not allowed by default - see next section.
+=item B<tls-verify-peer=false>
+
+Do not verify the server certificate. See L<nbd_set_tls_verify_peer(3)>.
+The default is C<true>.
+
=back
=head2 Disable URI features
@@ -227,6 +232,7 @@ L<nbd_set_opt_mode(3)>,
L<nbd_set_tls(3)>,
L<nbd_set_tls_certificates(3)>,
L<nbd_set_tls_psk_file(3)>,
+L<nbd_set_tls_verify_peer(3)>,
L<nbd_set_uri_allow_local_file(3)>,
L<nbd_set_uri_allow_tls(3)>,
L<nbd_set_uri_allow_transports(3)>,
--
2.43.5