Fix the error handling in :meth:`ssl.SSLContext.load_dh_params`.