aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dkim.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-20 14:42:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-20 14:42:42 +0100
commit08ca8ae9290d9ca7f35229d588ddd1b4776d1583 (patch)
treee719e2cf59c45b859ec890bb8db3f1c9880d0847 /src/libserver/dkim.c
parent73b6ea676239240822a9586ca13d7801d0abdde9 (diff)
downloadrspamd-08ca8ae9290d9ca7f35229d588ddd1b4776d1583.tar.gz
rspamd-08ca8ae9290d9ca7f35229d588ddd1b4776d1583.zip
[Minor] Fix double set of GError
Diffstat (limited to 'src/libserver/dkim.c')
-rw-r--r--src/libserver/dkim.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index 44a0b5960..f532c5a57 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -1439,6 +1439,8 @@ rspamd_dkim_parse_key (const gchar *txt, gsize *keylen, GError **err)
DKIM_ERROR,
DKIM_SIGERROR_KEYFAIL,
"key is missing");
+
+ return NULL;
}
if (alglen == 0 || alg == NULL) {