Merge pull request #521 from ahuang007/patch-1

Update lua-crypt.c
This commit is contained in:
云风
2016-06-21 15:37:56 +08:00
committed by GitHub

View File

@@ -751,7 +751,7 @@ ldhexchange(lua_State *L) {
if (x64 == 0)
return luaL_error(L, "Can't be 0");
uint64_t r = powmodp(5, x64);
uint64_t r = powmodp(G, x64);
push64(L, r);
return 1;
}