From: Vsevolod Stakhov Date: Wed, 20 Jun 2018 13:42:42 +0000 (+0100) Subject: [Minor] Fix double set of GError X-Git-Tag: 1.7.7~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=08ca8ae9290d9ca7f35229d588ddd1b4776d1583;p=rspamd.git [Minor] Fix double set of GError --- 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) {