Browse Source

[Minor] Fix double set of GError

tags/1.7.7
Vsevolod Stakhov 6 years ago
parent
commit
08ca8ae929
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/libserver/dkim.c

+ 2
- 0
src/libserver/dkim.c View File

@@ -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) {

Loading…
Cancel
Save