allow ssl module to compile if openssl doesn't support SSL 3 (closes #22935)

Patch by Kurt Roeckx.

--HG--
branch : 2.7
extra : amend_source : 93064fb956475dcbf29529619e408335686aaf02
merge 2.7.9 release branch

--HG--
branch : 2.7
note that sslv3 may not be available

--HG--
branch : 2.7
merge 2.7.9 release branch

--HG--
branch : 2.7