fix #2482 snmp response: Too long
Merge branch 'V5-4-patches' into V5-5-patches

* V5-4-patches:
  fix #2482 snmp response: Too long
Merge branch 'V5-5-patches' into V5-6-patches

* V5-5-patches:
  fix #2482 snmp response: Too long
Merge branch 'V5-6-patches' into V5-7-patches

* V5-6-patches:
  fix #2482 snmp response: Too long
Fix detection of sha224 and sha384, patch from Brian Sipos

https://sourceforge.net/p/net-snmp/bugs/2564/

Luckily nobody's needed to build using an OpenSSL version
that doesn't support sha224 or sha384, since the inversion
of the test here would try to use sha224/sha384 support only
on OpenSSL versions that don't support them!