]> source.dussan.org Git - rspamd.git/commitdiff
[CritFix] Fix setting of raw key for signing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Mar 2017 14:19:58 +0000 (14:19 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 2 Mar 2017 14:21:14 +0000 (14:21 +0000)
src/plugins/dkim_check.c

index 1023ce70b5a0905bf563ac2596e4bf17ef88877e..d36f13e3978d847b611d68314d7bfcbb77252076 100644 (file)
@@ -565,7 +565,7 @@ lua_dkim_sign_handler (lua_State *L)
         */
        if (!rspamd_lua_parse_table_arguments (L, 2, &err,
                        "key=S;rawkey=V;*domain=S;*selector=S",
-                       &key, &rawlen, rawkey, &domain, &selector)) {
+                       &key, &rawlen, &rawkey, &domain, &selector)) {
                msg_err_task ("invalid return value from sign condition: %e",
                                err);
                g_error_free (err);