diff options
| author | Gleb Kozyrev <[email protected]> | 2015-01-29 17:50:10 +0200 |
|---|---|---|
| committer | Gleb Kozyrev <[email protected]> | 2015-01-29 17:50:10 +0200 |
| commit | 4bd7ed8a39354416094ad6fb939c49d26300981f (patch) | |
| tree | cbe679204d9d3f8a12e535437928b6f63a5d0cb5 /src/ssl/error.rs | |
| parent | Merge pull request #141 from gkoz/borrow_mut (diff) | |
| download | rust-openssl-4bd7ed8a39354416094ad6fb939c49d26300981f.tar.xz rust-openssl-4bd7ed8a39354416094ad6fb939c49d26300981f.zip | |
Avoid duplicate calls to *_Final when dropping Hasher and HMAC
An assertion triggered in finalize() would lead to drop() erroneously redoing the finalization. Set the state to Finalized unconditionally to prevent this.
Diffstat (limited to 'src/ssl/error.rs')
0 files changed, 0 insertions, 0 deletions