aboutsummaryrefslogtreecommitdiff
path: root/error.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2013-10-22 22:22:09 -0700
committerSteven Fackler <[email protected]>2013-10-22 22:22:09 -0700
commit6ee6589227a9a086a00cf8d759a9e56d23b7a83a (patch)
treef351ea7c8f702b3941660689598f17c7116329bf /error.rs
parentFix for macro changes (diff)
downloadrust-openssl-6ee6589227a9a086a00cf8d759a9e56d23b7a83a.tar.xz
rust-openssl-6ee6589227a9a086a00cf8d759a9e56d23b7a83a.zip
Sketch of custom cert verification callback
Diffstat (limited to 'error.rs')
-rw-r--r--error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.rs b/error.rs
index b5fe0b6b..90429996 100644
--- a/error.rs
+++ b/error.rs
@@ -2,6 +2,7 @@ use std::libc::c_ulong;
use super::ffi;
+#[deriving(ToStr)]
pub enum SslError {
StreamEof,
SslSessionClosed,