aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2013-12-29 17:46:23 -0800
committerSteven Fackler <[email protected]>2013-12-29 17:46:23 -0800
commit55f9feab47509101e5b52d858ab6ee972e73beb9 (patch)
tree63a86e7cc30585e0e93ff1bd0c05f5243cc63887
parentStop using atomics for OpenSSL global state (diff)
downloadrust-openssl-55f9feab47509101e5b52d858ab6ee972e73beb9.tar.xz
rust-openssl-55f9feab47509101e5b52d858ab6ee972e73beb9.zip
Remove spurious extern "Rust" specifier
-rw-r--r--ssl/mod.rs4
1 files 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 {