Commit Diff


commit - 338537df4fb660a24bdb2872dcea14ea1b4eecee
commit + 2732fb68df18039980a6fb4ff769296dda6c605b
blob - 64bf4e64e69c5f019eae556cff1bfc9cb12750ba
blob + f8e59b6b29842962e6536b727ebe78b09faaf570
--- main.c
+++ main.c
@@ -1407,7 +1407,7 @@ dkim_key_text_parse(struct signature *sig, const char 
 		for (key = pkraw; key[0] != '\0';) {
 			if (pkoff + 2 >= sizeof(pkimp))
 				return 0;
-			pkimp[pkoff++] = key[0];
+			pkimp[pkoff++] = key++[0];
 			if (++linelen == 64) {
 				pkimp[pkoff++] = '\n';
 				linelen = 0;