aboutsummaryrefslogtreecommitdiff
path: root/src/hash/loselose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/loselose.c')
-rw-r--r--src/hash/loselose.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hash/loselose.c b/src/hash/loselose.c
index 737fd2c..6ab8677 100644
--- a/src/hash/loselose.c
+++ b/src/hash/loselose.c
@@ -27,10 +27,7 @@ uint64_t loselose(uint8_t* in, size_t len){
common_hash_init_update(loselose);
int l_loselose_final(lua_State* L){
- lua_pushstring(L, "ud");
- lua_gettable(L, 1);
-
- struct loselose_hash* a = (struct loselose_hash*)lua_touserdata(L, -1);
+ struct loselose_hash* a = (struct loselose_hash*)lua_touserdata(L, 1);
uint64_t u = loselose_final(a);
char digest[64];
sprintf(digest,"%08lx",u);