Skip to content

Commit

Permalink
Refactor encrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
cdabupulsarsd committed Nov 21, 2024
1 parent d421f40 commit f5eda56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/mail-drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,7 @@ class MailDrop {
});
});
} else {
let encryptedStream = envelope.encrypt(dkimStream, eResult => {
return eResult;
});
let encryptedStream = envelope.encrypt(dkimStream, eResult => eResult);

let messageHashStream = new StreamHash({
algo: 'md5'
Expand Down

0 comments on commit f5eda56

Please sign in to comment.