mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
dkim: Implement internal dkim signing and verification
This patch implements internal DKIM signing and verification.
This commit is contained in:
@@ -93,3 +93,8 @@ func ToCRLF(in []byte) []byte {
|
||||
}
|
||||
return b.Bytes()
|
||||
}
|
||||
|
||||
// StringToCRLF is like ToCRLF, but operates on strings.
|
||||
func StringToCRLF(in string) string {
|
||||
return string(ToCRLF([]byte(in)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user