Fix test on modern distro where old unsecure algo are disabled in openssl config.
Testing recent algo should be enough to check this function.