protonmail: fix MessagePackageSet.Encrypt docs
This commit is contained in:
parent
0ac8dda458
commit
6e891b2ae2
|
@ -271,9 +271,7 @@ func (w *outgoingMessageWriter) Close() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Encrypt encrypts the data that will be written to the returned
|
// Encrypt encrypts the data that will be written to the returned
|
||||||
// io.WriteCloser.
|
// io.WriteCloser, and optionally signs it.
|
||||||
//
|
|
||||||
// The signed parameter is ignored for now.
|
|
||||||
func (set *MessagePackageSet) Encrypt(mimeType string, signed *openpgp.Entity) (io.WriteCloser, error) {
|
func (set *MessagePackageSet) Encrypt(mimeType string, signed *openpgp.Entity) (io.WriteCloser, error) {
|
||||||
set.MIMEType = mimeType
|
set.MIMEType = mimeType
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue