Skip to content

Commit

Permalink
chore(decryption): Return nil instead of err
Browse files Browse the repository at this point in the history
  • Loading branch information
lubux committed Dec 7, 2023
1 parent a005a61 commit 13f4eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/decryption_core.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (dh *decryptionHandle) decryptStream(encryptedMessage Reader) (plainMessage
dh.DisableVerifyTimeCheck,
false,
dh.VerificationContext,
}, err
}, nil
}

func (dh *decryptionHandle) decryptStreamWithSession(dataPacketReader Reader) (plainMessage *VerifyDataReader, err error) {
Expand Down

0 comments on commit 13f4eeb

Please sign in to comment.