File 0220-crypto_aead-should-be-crypto_one_time_aead.patch of Package erlang

From 47511b3f36af37c2e01a3f09737ac32107dc3231 Mon Sep 17 00:00:00 2001
From: zeyun chen <chenzeyun.zju@gmail.com>
Date: Thu, 22 Feb 2024 16:07:33 +0800
Subject: [PATCH] crypto_aead should be crypto_one_time_aead

---
 lib/crypto/src/crypto.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 08132dfe75..b944b03ad5 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -834,7 +834,7 @@ end
 	</p>
 	<p>For encryption, set the <c>EncryptFlag</c> to <c>true</c> and set the <c>TagOrTagLength</c>
 	to the wanted size (in bytes) of the tag, that is, the tag length.  If the default length is wanted, the
-	<c>crypto_aead/6</c> form may be used.
+	<c>crypto_one_time_aead/6</c> form may be used.
 	</p>
 	<p>For decryption, set the <c>EncryptFlag</c> to <c>false</c> and put the tag to be checked
 	in the argument	<c>TagOrTagLength</c>.
-- 
2.35.3

openSUSE Build Service is sponsored by