File 0682-snmp-manager-Corrected-spelling-of-priv-protocol.patch of Package erlang

From 09d2cf5bc6a9ad8dc7af91928513145df9118629 Mon Sep 17 00:00:00 2001
From: Micael Karlberg <bmk@erlang.org>
Date: Fri, 15 Jan 2021 17:33:17 +0100
Subject: [PATCH 1/2] [snmp|manager] Corrected spelling of priv protocol

The priv protocol atom 'usmAesCfb128Protocol' was spelled
incorrectly: 'usmAesCfb128Protocoll'. This had the effect
that is was impossible to update 'priv_key' by calling
snmpm:update_usm_user_info/4.

OTP-17110
---
 lib/snmp/src/manager/snmpm_config.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/snmp/src/manager/snmpm_config.erl b/lib/snmp/src/manager/snmpm_config.erl
index 10a39986a0..356ba44b08 100644
--- a/lib/snmp/src/manager/snmpm_config.erl
+++ b/lib/snmp/src/manager/snmpm_config.erl
@@ -3118,7 +3118,7 @@ do_update_usm_user_info(Key,
 	    {error, {unsupported_crypto, des_cbc}}
     end;    
 do_update_usm_user_info(Key, 
-			#usm_user{priv = usmAesCfb128Protocoll} = User, 
+			#usm_user{priv = usmAesCfb128Protocol} = User, 
 			priv_key, Val) 
   when length(Val) =:= 16 ->
     case is_crypto_supported(aes_cfb128) of
-- 
2.26.2

openSUSE Build Service is sponsored by