]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix base64 encoding for signature
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 28 May 2017 14:16:56 +0000 (15:16 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 28 May 2017 14:16:56 +0000 (15:16 +0100)
src/lua/lua_rsa.c

index 57c8156346b156b20c9741db3fb92038b85ca493..b7ccf87092f7086292c2e592fb31d0f775949e51 100644 (file)
@@ -559,7 +559,7 @@ lua_rsa_signature_base64 (lua_State *L)
                lua_pushnil (L);
        }
 
-       return 0;
+       return 1;
 }
 
 /**