mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
util.hashes: Silence compiler warning about char pointer signedness
Introduced in dbe9781fd278
This commit is contained in:
parent
564054677f
commit
732d5ad8a8
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ static int Levp_hkdf(lua_State *L, const EVP_MD *evp) {
|
|||
|
||||
size_t input_len, salt_len, info_len;
|
||||
size_t actual_out_len = luaL_checkinteger(L, 1);
|
||||
const char *input = luaL_checklstring(L, 2, &input_len);
|
||||
const unsigned char *input = (unsigned char *)luaL_checklstring(L, 2, &input_len);
|
||||
const unsigned char *salt = (unsigned char *)luaL_optlstring(L, 3, NULL, &salt_len);
|
||||
const unsigned char *info = (unsigned char *)luaL_checklstring(L, 4, &info_len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue