fix unfold DKIM header on verify

This commit is contained in:
Stéphane Depierrepont aka Toorop
2015-05-27 09:21:54 +02:00
parent 12fc3f3272
commit 7cb594e75f
3 changed files with 5 additions and 3 deletions

View File

@@ -473,7 +473,6 @@ func verifySignature(toSign []byte, sig64 string, key *rsa.PublicKey, algo strin
return ErrVerifyInappropriateHashAlgo
}
//fmt.Printf("|%s|", toSign)
h1.Write(toSign)
sig, err := base64.StdEncoding.DecodeString(sig64)
if err != nil {