Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
openhpi.1182
openhpi-3.4.0_no_md5.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openhpi-3.4.0_no_md5.patch of Package openhpi.1182
Index: plugins/snmp_bc/snmp_bc_session.c =================================================================== --- plugins/snmp_bc/snmp_bc_session.c.orig 2008-04-30 17:38:44.000000000 +0200 +++ plugins/snmp_bc/snmp_bc_session.c 2015-09-24 18:01:37.713158307 +0200 @@ -201,10 +201,13 @@ void *snmp_bc_open(GHashTable *handler_c } custom_handle->session.securityLevel = SNMP_SEC_LEVEL_AUTHNOPRIV; + #ifndef NETSNMP_DISABLE_MD5 if (!authtype || !g_ascii_strncasecmp(authtype, "MD5", sizeof("MD5"))) { custom_handle->session.securityAuthProto = usmHMACMD5AuthProtocol; custom_handle->session.securityAuthProtoLen = USM_AUTH_PROTO_MD5_LEN; - } else if (!g_ascii_strncasecmp(authtype, "SHA", sizeof("SHA"))) { + } else + #endif + if (!g_ascii_strncasecmp(authtype, "SHA", sizeof("SHA"))) { custom_handle->session.securityAuthProto = usmHMACSHA1AuthProtocol; custom_handle->session.securityAuthProtoLen = USM_AUTH_PROTO_SHA_LEN; } else {
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