[openEuler-5.10 053/150] tools build: Switch to new openssl API for test-libcrypto