Add missing cryptoInit() in cryptoHmacOne().
If cryptoInit() had not already been called then EVP_get_digestbyname() would fail.
This does not appear to be a problem currently because of call order. Also, newer versions of OpenSSL auto-initialize.
@@ -237,6 +237,9 @@ cryptoHmacOne(const String *type, const Buffer *key, const Buffer *message)
ASSERT(key != NULL);
ASSERT(message != NULL);
+ // Init crypto subsystem
+ cryptoInit();
+
const EVP_MD *hashType = EVP_get_digestbyname(strPtr(type));
ASSERT(hashType != NULL);
