Add fence against using EVP_sha256 mech.

Which is only available in >=0.9.8