File 0710-snmp-doc-Removed-nonexistent-function.patch of Package erlang
From 82ef56498f65935cf06f3bbf4facf3d2444d6237 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Wed, 5 Feb 2020 11:50:14 +0100
Subject: [PATCH 2/2] [snmp|doc] Removed nonexistent function
A nonexistent function, snmp_pdus:enc_encrypted_scoped_pdu/1,
has been removed from the documentation.
OTP-16450
---
lib/snmp/doc/src/snmp_pdus.xml | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/lib/snmp/doc/src/snmp_pdus.xml b/lib/snmp/doc/src/snmp_pdus.xml
index f403b6edf4..4b00dcb7f0 100644
--- a/lib/snmp/doc/src/snmp_pdus.xml
+++ b/lib/snmp/doc/src/snmp_pdus.xml
@@ -125,22 +125,7 @@
<p>Decodes a list of bytes into an SNMP UsmSecurityParameters</p>
</desc>
</func>
- <func>
- <name since="">enc_encrypted_scoped_pdu(EncryptedScopedPdu) -> [byte()]</name>
- <fsummary>Encode an encrypted SNMP scopedPDU</fsummary>
- <type>
- <v>EncryptedScopedPdu = [byte()]</v>
- </type>
- <desc>
- <p>Encodes an encrypted SNMP ScopedPdu into an OCTET STRING
- that can be used as the <c>data</c> field in a
- <c>message</c> record, that later can be encoded with a call
- to <c>enc_message_only/1</c>.
- </p>
- <p>This function should be used whenever the <c>ScopedPDU</c>
- is encrypted.</p>
- </desc>
- </func>
+
<func>
<name since="">enc_message(Message) -> [byte()]</name>
<fsummary>Encode an SNMP Message</fsummary>
--
2.16.4