| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7305e7b commit 61de6e9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3329,7 +3329,7 @@ void Hmac::HmacInit(const char* hash_type, const char* key, int key_len) { | |||
| 3329 | 3329 | if (key_len == 0) { | |
| 3330 | 3330 | key = ""; | |
| 3331 | 3331 | } | |
| 3332 | - if (!HMAC_Init(&ctx_, key, key_len, md)) { | ||
| 3332 | + if (!HMAC_Init_ex(&ctx_, key, key_len, md, nullptr)) { | ||
| 3333 | 3333 | return ThrowCryptoError(env(), ERR_get_error()); | |
| 3334 | 3334 | } | |
| 3335 | 3335 | initialised_ = true; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments