aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorBastian Köcher <[email protected]>2018-03-11 11:29:45 +0100
committerBastian Köcher <[email protected]>2018-03-11 11:34:36 +0100
commitd7a7c379a85965fa2a49849d9e424c2c11035d89 (patch)
tree9228a3b494a30210dad0fdd12348a83e0fe07fa2 /openssl-sys/src
parentMoves store context init into its own function (diff)
downloadrust-openssl-d7a7c379a85965fa2a49849d9e424c2c11035d89.tar.xz
rust-openssl-d7a7c379a85965fa2a49849d9e424c2c11035d89.zip
Changes `init` to take a closure which is called with the initialized context
After calling the closure, we automatically cleanup the context. This is required, because otherwise we could have dangling references in the context.
Diffstat (limited to 'openssl-sys/src')
0 files changed, 0 insertions, 0 deletions