diff options
| author | Steven Fackler <[email protected]> | 2014-12-11 11:53:25 -0500 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-12-11 11:53:25 -0500 |
| commit | f22cdfb5945d175c55a3dcaedfce075b70e18e45 (patch) | |
| tree | 57b5e5c37c607769671fbbb56dac66b5a58c3856 /src/ssl | |
| parent | Merge pull request #117 from Ummon/master (diff) | |
| parent | Update to nightly: explicit Copy trait (diff) | |
| download | rust-openssl-f22cdfb5945d175c55a3dcaedfce075b70e18e45.tar.xz rust-openssl-f22cdfb5945d175c55a3dcaedfce075b70e18e45.zip | |
Merge pull request #118 from vhbit/oibit-fix
Update to nightly: explicit Copy trait
Diffstat (limited to 'src/ssl')
| -rw-r--r-- | src/ssl/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ssl/mod.rs b/src/ssl/mod.rs index 6112bc8d..5aa60666 100644 --- a/src/ssl/mod.rs +++ b/src/ssl/mod.rs @@ -33,6 +33,7 @@ fn init() { /// Determines the SSL method supported #[deriving(Show, Hash, PartialEq, Eq)] #[allow(non_camel_case_types)] +#[deriving(Copy)] pub enum SslMethod { #[cfg(feature = "sslv2")] /// Only support the SSLv2 protocol, requires `feature="sslv2"` @@ -68,6 +69,7 @@ impl SslMethod { } /// Determines the type of certificate verification used +#[deriving(Copy)] #[repr(i32)] pub enum SslVerifyMode { /// Verify that the server's certificate is trusted |