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

Patch by Kurt Roeckx.

--HG--
branch : 3.4
extra : source : 49d267a58cc28813a32d667d0d312130c577a8d1
merge 3.4 (#22935)
note that sslv3 may not be available

--HG--
branch : 3.4
extra : source : f18b37befb6cb160f2cf3a08e366907d0838822b
merge 3.4
Issue #22696: Add function :func:`sys.is_finalizing` to know about interpreter shutdown.