aboutsummaryrefslogtreecommitdiff
path: root/src/ssl/error.rs
diff options
context:
space:
mode:
authorGleb Kozyrev <[email protected]>2015-01-29 17:50:10 +0200
committerGleb Kozyrev <[email protected]>2015-01-29 17:50:10 +0200
commit4bd7ed8a39354416094ad6fb939c49d26300981f (patch)
treecbe679204d9d3f8a12e535437928b6f63a5d0cb5 /src/ssl/error.rs
parentMerge pull request #141 from gkoz/borrow_mut (diff)
downloadrust-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