commit - 3c64c5dfbf99067b3aaec457cf594816240e5ca9
commit + fa10b9e84d290c818fb5ec3d768b7ed683f69c92
blob - 322bf1f08a74e0aa77f98ca429157bb52858cf6c
blob + 44c72e9aafec7ec10820cabb86f01061336c0a9c
--- main.c
+++ main.c
session->signature.len = 0;
if (!dkim_signature_printf(session,
- "DKIM-signature: %s; a=%s-%s; c=%s/%s; d=%s; s=%s; ", "v=1",
- cryptalg,
- hashalg,
+ "DKIM-signature: v=%s; a=%s-%s; c=%s/%s; d=%s; s=%s; ", "1",
+ cryptalg, hashalg,
canonheader == CANON_SIMPLE ? "simple" : "relaxed",
canonbody == CANON_SIMPLE ? "simple" : "relaxed",
domain, selector))