Commit Diff


commit - d842ff09fd5fa3ce9c1758b7d803bf7ee61cbdc5
commit + 7e24437dc38dbdda776651fb1eda070fcae975d5
blob - ddd4586b1cd8c9c4c7594653bd758b4aef1115b3
blob + e931352fd7515a537ffd661a4137c9cede6b5003
--- main.c
+++ main.c
@@ -1206,7 +1206,7 @@ dkim_key_text_parse(struct signature *sig, const char 
 			tagname = key[0];
 		key = osmtpd_ltok_skip_fws(end, 1);
 		/* '=' */
-		if (key != '=')
+		if (key[0] != '=')
 			return 0;
 		key = osmtpd_ltok_skip_fws(key + 1, 1);
 		if ((end = osmtpd_ltok_skip_tag_value(key, 0)) == NULL)