summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luamd5/md5lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luamd5/md5lib.c')
-rw-r--r--Build/source/texk/web2c/luatexdir/luamd5/md5lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luamd5/md5lib.c b/Build/source/texk/web2c/luatexdir/luamd5/md5lib.c
index de213d878a2..40fd2de386b 100644
--- a/Build/source/texk/web2c/luatexdir/luamd5/md5lib.c
+++ b/Build/source/texk/web2c/luatexdir/luamd5/md5lib.c
@@ -45,7 +45,7 @@ static int ex_or (lua_State *L) {
luaL_Buffer b;
luaL_argcheck( L, l1 == l2, 2, "lengths must be equal" );
luaL_buffinit(L, &b);
- while (l1--) luaL_putchar(&b, (*s1++)^(*s2++));
+ while (l1--) luaL_addchar(&b, (*s1++)^(*s2++));
luaL_pushresult(&b);
return 1;
}
@@ -167,7 +167,7 @@ static int decrypt (lua_State *L) {
}
-static struct luaL_reg md5lib[] = {
+static struct luaL_Reg md5lib[] = {
{"sum", lmd5},
{"exor", ex_or},
{"crypt", crypt},