76 lines
3.2 KiB
Diff
76 lines
3.2 KiB
Diff
From b64c8b2aa75e6668ee9115afda8e54d48b2143ac Mon Sep 17 00:00:00 2001
|
|
From: rpm-build <rpm-build>
|
|
Date: Wed, 22 Dec 2021 17:19:27 +0100
|
|
Subject: [PATCH 2/2] gnutls-3.7.2-doc-hash-copy.patch
|
|
|
|
---
|
|
doc/functions/gnutls_hash_copy | 4 +++-
|
|
doc/functions/gnutls_hmac_copy | 4 +++-
|
|
doc/manpages/gnutls_hash_copy.3 | 4 +++-
|
|
doc/manpages/gnutls_hmac_copy.3 | 4 +++-
|
|
4 files changed, 12 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/doc/functions/gnutls_hash_copy b/doc/functions/gnutls_hash_copy
|
|
index 600c0e7..aac7d5d 100644
|
|
--- a/doc/functions/gnutls_hash_copy
|
|
+++ b/doc/functions/gnutls_hash_copy
|
|
@@ -8,7 +8,9 @@
|
|
This function will create a copy of Message Digest context, containing all
|
|
its current state. Copying contexts for Message Digests registered using
|
|
@code{gnutls_crypto_register_digest()} is not supported and will always result in
|
|
-an error.
|
|
+an error. In addition to that, some of the Message Digest implementations do
|
|
+not support this operation. Applications should check the return value and
|
|
+provide a proper fallback.
|
|
|
|
@strong{Returns:} new Message Digest context or NULL in case of an error.
|
|
|
|
diff --git a/doc/functions/gnutls_hmac_copy b/doc/functions/gnutls_hmac_copy
|
|
index a219b21..93b20d5 100644
|
|
--- a/doc/functions/gnutls_hmac_copy
|
|
+++ b/doc/functions/gnutls_hmac_copy
|
|
@@ -8,7 +8,9 @@
|
|
This function will create a copy of MAC context, containing all its current
|
|
state. Copying contexts for MACs registered using
|
|
@code{gnutls_crypto_register_mac()} is not supported and will always result in an
|
|
-error.
|
|
+error. In addition to that, some of the MAC implementations do not support
|
|
+this operation. Applications should check the return value and provide a
|
|
+proper fallback.
|
|
|
|
@strong{Returns:} new MAC context or NULL in case of an error.
|
|
|
|
diff --git a/doc/manpages/gnutls_hash_copy.3 b/doc/manpages/gnutls_hash_copy.3
|
|
index fcf0983..19bb8c4 100644
|
|
--- a/doc/manpages/gnutls_hash_copy.3
|
|
+++ b/doc/manpages/gnutls_hash_copy.3
|
|
@@ -13,7 +13,9 @@ is a \fBgnutls_hash_hd_t\fP type
|
|
This function will create a copy of Message Digest context, containing all
|
|
its current state. Copying contexts for Message Digests registered using
|
|
\fBgnutls_crypto_register_digest()\fP is not supported and will always result in
|
|
-an error.
|
|
+an error. In addition to that, some of the Message Digest implementations do
|
|
+not support this operation. Applications should check the return value and
|
|
+provide a proper fallback.
|
|
.SH "RETURNS"
|
|
new Message Digest context or NULL in case of an error.
|
|
.SH "SINCE"
|
|
diff --git a/doc/manpages/gnutls_hmac_copy.3 b/doc/manpages/gnutls_hmac_copy.3
|
|
index ba5a40d..32b0114 100644
|
|
--- a/doc/manpages/gnutls_hmac_copy.3
|
|
+++ b/doc/manpages/gnutls_hmac_copy.3
|
|
@@ -13,7 +13,9 @@ is a \fBgnutls_hmac_hd_t\fP type
|
|
This function will create a copy of MAC context, containing all its current
|
|
state. Copying contexts for MACs registered using
|
|
\fBgnutls_crypto_register_mac()\fP is not supported and will always result in an
|
|
-error.
|
|
+error. In addition to that, some of the MAC implementations do not support
|
|
+this operation. Applications should check the return value and provide a
|
|
+proper fallback.
|
|
.SH "RETURNS"
|
|
new MAC context or NULL in case of an error.
|
|
.SH "SINCE"
|
|
--
|
|
2.31.1
|
|
|