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

zeroize: Add ZeroizeOnDrop marker trait + custom derive #168

Merged
merged 1 commit into from
Mar 23, 2019

Conversation

tarcieri
Copy link
Collaborator

Adds support for deriving the ZeroizeOnDrop trait, which invokes zeroize() on self inside of the Drop handler.

Adds support for deriving the `ZeroizeOnDrop` trait, which invokes
`zeroize()` on `self` inside of the `Drop` handler.
@tarcieri tarcieri merged commit 8c66293 into master Mar 23, 2019
@tarcieri tarcieri deleted the zeroize/custom-derive-for-drop branch March 23, 2019 20:59
@tony-iqlusion tony-iqlusion mentioned this pull request Mar 23, 2019
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

Successfully merging this pull request may close these issues.

2 participants