Commit 5e08ad00 authored by Novotnik, Petr's avatar Novotnik, Petr
Browse files

Implement Clone for openssl::error::ErrorStack

parent 4d4292a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 {