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