Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
7642-snmp-manager-Improved-debug-verbosity-info...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 7642-snmp-manager-Improved-debug-verbosity-info-during-en.patch of Package erlang
From 4337d81173cc03a826515bb52495b77a7dfbae63 Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Thu, 25 Nov 2021 11:03:20 +0100 Subject: [PATCH 2/5] [snmp|manager] Improved debug (verbosity) info during encrypt OTP-17783 --- lib/snmp/src/manager/snmpm_usm.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/snmp/src/manager/snmpm_usm.erl b/lib/snmp/src/manager/snmpm_usm.erl index 441618ec86..1e4e24b177 100644 --- a/lib/snmp/src/manager/snmpm_usm.erl +++ b/lib/snmp/src/manager/snmpm_usm.erl @@ -394,8 +394,12 @@ encrypt(Data, PrivProtocol, PrivKey, SecLevel, EngineBoots, EngineTime) -> {ok, ScopedPduData, MsgPrivParams} -> {snmp_pdus:enc_oct_str_tag(ScopedPduData), MsgPrivParams}; {error, Reason} -> + ?vlog("encrypt -> try encrypt error: " + "~n ~p", [Reason]), error(Reason); - _ -> + _Unexpected -> + ?vlog("encrypt -> try encrypt unexpected failure: " + "~n ~p", [_Unexpected]), error(encryptionError) end end. -- 2.31.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor