]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix misprint
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 25 May 2017 15:17:10 +0000 (16:17 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 25 May 2017 15:17:10 +0000 (16:17 +0100)
src/libserver/dkim.c

index 6e72c58b2850d04b75393ad9d0b2aa74b9b5eb14..582c5ff07bf044d6720fb646162a309d93b112e4 100644 (file)
@@ -1042,7 +1042,7 @@ rspamd_create_dkim_context (const gchar *sig,
                return NULL;
        }
 
-       if (ctx->common.type != RSPAMD_DKIM_ARC_SEAL) {
+       if (ctx->common.type == RSPAMD_DKIM_ARC_SEAL) {
                if (ctx->cv == RSPAMD_ARC_UNKNOWN) {
                        g_set_error (err,
                                        DKIM_ERROR,