From 55f9feab47509101e5b52d858ab6ee972e73beb9 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 29 Dec 2013 17:46:23 -0800 Subject: [PATCH] Remove spurious extern "Rust" specifier --- ssl/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl/mod.rs b/ssl/mod.rs index aed9c219..6bfb2229 100644 --- a/ssl/mod.rs +++ b/ssl/mod.rs @@ -106,8 +106,8 @@ extern "C" fn raw_verify(preverify_ok: c_int, x509_ctx: *ffi::X509_STORE_CTX) } /// The signature of functions that can be used to manually verify certificates -pub type VerifyCallback = extern "Rust" fn(preverify_ok: bool, - x509_ctx: &X509StoreContext) -> bool; +pub type VerifyCallback = fn(preverify_ok: bool, + x509_ctx: &X509StoreContext) -> bool; /// An SSL context object pub struct SslContext {