Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PublicPacket::decrypt take self #2397

Open
larseggert opened this issue Jan 31, 2025 · 0 comments
Open

Make PublicPacket::decrypt take self #2397

larseggert opened this issue Jan 31, 2025 · 0 comments

Comments

@larseggert
Copy link
Collaborator

I'm looking at the calling code and I think that we can change this to take self instead of &mut self. There is some use of the public packet after decryption, but it seems like the necessary pieces can be moved to the decrypted packet.

Originally posted by @martinthomson in #2385 (comment)

@martinthomson martinthomson changed the title Make PublicPacket::decrypt take &self Make PublicPacket::decrypt take self Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant