Sanity check in ssl_get_algorithm2().