File php5-fix_net-snmp_disable_MD5.patch of Package php56-zts

diff -Nurp php-5.5.14-orig/ext/snmp/snmp.c php-5.5.14/ext/snmp/snmp.c
--- php-5.5.14-orig/ext/snmp/snmp.c	2014-06-25 15:06:23.000000000 +0200
+++ php-5.5.14/ext/snmp/snmp.c	2015-09-07 13:57:05.904881566 +0200
@@ -1266,14 +1266,17 @@ static int netsnmp_session_set_sec_level
    Set the authentication protocol in the snmpv3 session */
 static int netsnmp_session_set_auth_protocol(struct snmp_session *s, char *prot TSRMLS_DC)
 {
+#ifndef DISABLE_MD5
 	if (!strcasecmp(prot, "MD5")) {
 		s->securityAuthProto = usmHMACMD5AuthProtocol;
 		s->securityAuthProtoLen = USM_AUTH_PROTO_MD5_LEN;
-	} else if (!strcasecmp(prot, "SHA")) {
+	} else
+#endif
+	if (!strcasecmp(prot, "SHA")) {
 		s->securityAuthProto = usmHMACSHA1AuthProtocol;
 		s->securityAuthProtoLen = USM_AUTH_PROTO_SHA_LEN;
 	} else {
-		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown authentication protocol '%s'", prot);
+		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown or unsupported authentication protocol '%s'", prot);
 		return (-1);
 	}
 	return (0);