[PATCH v3 2/2] tools: fix build without LIBCRYPTO support