diff options
| author | Cody P Schafer <[email protected]> | 2014-12-29 16:32:56 -0500 |
|---|---|---|
| committer | Cody P Schafer <[email protected]> | 2014-12-29 16:41:11 -0500 |
| commit | 066c54a34cbdb3a946100bacda2d2a861d57a940 (patch) | |
| tree | 21ef89d77a2c3aa00d53c162454eb8f7fe176b01 /openssl-sys/src | |
| parent | Release v0.2.8 (diff) | |
| download | rust-openssl-066c54a34cbdb3a946100bacda2d2a861d57a940.tar.xz rust-openssl-066c54a34cbdb3a946100bacda2d2a861d57a940.zip | |
ssl: use std::ptr::Unique to fix for opt-in Sync
Modifies Ssl & SslContext.
This removes the errors like:
src/ssl/tests.rs:202:14: 202:27 error: the trait `core::kinds::Send` is not implemented for the type `*mut libc::types::common::c95::c_void`
src/ssl/tests.rs:202 let _t = Thread::spawn(move || {
^~~~~~~~~~~~~
src/ssl/tests.rs:202:14: 202:27 note: the type `*mut libc::types::common::c95::c_void` must implement `core::kinds::Send` because it appears within the type `ssl::Ssl`
We may want some locking around calls that do multiple operations on
the underlying Ssl and SslContext objects, but this lets us preserve
functionality for now.
Diffstat (limited to 'openssl-sys/src')
0 files changed, 0 insertions, 0 deletions