]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix lua_cryptobox registration
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Mar 2016 13:23:29 +0000 (13:23 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Mar 2016 13:23:29 +0000 (13:23 +0000)
src/lua/lua_cryptobox.c

index 823313ff17b4f53cad9f279c07d2080b1edb3da0..0c3fb303d0428936f057380bde4a78c8cca5f5cd 100644 (file)
@@ -970,7 +970,7 @@ luaopen_cryptobox (lua_State * L)
        lua_rawset (L, -3);
 
        luaL_register (L, NULL, cryptoboxhashlib_m);
-       rspamd_lua_add_preload (L, "rspamd_cryptobox_signature", lua_load_hash);
+       rspamd_lua_add_preload (L, "rspamd_cryptobox_hash", lua_load_hash);
 
        rspamd_lua_add_preload (L, "rspamd_cryptobox", lua_load_cryptobox);