| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b7e661b commit 2816418
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3594,7 +3594,7 @@ void Hmac::HmacInit(const char* hash_type, const char* key, int key_len) { | |||
| 3594 | 3594 | if (key_len == 0) { | |
| 3595 | 3595 | key = ""; | |
| 3596 | 3596 | } | |
| 3597 | - if (!HMAC_Init(&ctx_, key, key_len, md)) { | ||
| 3597 | + if (!HMAC_Init_ex(&ctx_, key, key_len, md, nullptr)) { | ||
| 3598 | 3598 | return ThrowCryptoError(env(), ERR_get_error()); | |
| 3599 | 3599 | } | |
| 3600 | 3600 | initialised_ = true; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments