diff options
| author | Valerii Hiora <[email protected]> | 2014-12-11 13:44:37 +0200 |
|---|---|---|
| committer | Valerii Hiora <[email protected]> | 2014-12-11 13:44:37 +0200 |
| commit | c9220900753052a946abf6ac6de172d4a5e98b43 (patch) | |
| tree | 57b5e5c37c607769671fbbb56dac66b5a58c3856 /src/ssl | |
| parent | Merge pull request #117 from Ummon/master (diff) | |
| download | rust-openssl-c9220900753052a946abf6ac6de172d4a5e98b43.tar.xz rust-openssl-c9220900753052a946abf6ac6de172d4a5e98b43.zip | |
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 |