Merge pull request #446 from xitep/master

Implement Clone for openssl::error::ErrorStack
This commit is contained in:
Steven Fackler 2016-09-01 11:29:15 -07:00 committed by GitHub
commit bb23d5119f
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ use std::str;
use ffi;
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct ErrorStack(Vec<Error>);
impl ErrorStack {
@ -61,6 +61,7 @@ impl From<ErrorStack> for fmt::Error {
}
/// An error reported from OpenSSL.
#[derive(Clone)]
pub struct Error(c_ulong);
impl Error {