aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-10-18 22:10:37 -0700
committerSteven Fackler <[email protected]>2016-10-18 22:10:37 -0700
commitcfd5192a7d44b8d6c77e57f091887a6a00a166db (patch)
tree3dcb0710729d9750cf29e041a9f66622c83fdbbf /openssl-sys
parentDrop lifetime on GeneralNames (diff)
downloadrust-openssl-cfd5192a7d44b8d6c77e57f091887a6a00a166db.tar.xz
rust-openssl-cfd5192a7d44b8d6c77e57f091887a6a00a166db.zip
De-enumify X509ValidationError
Also make it an Error. Closes #352.
Diffstat (limited to 'openssl-sys')
-rw-r--r--openssl-sys/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index aae2540c..33abad21 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -731,6 +731,7 @@ extern {
pub fn X509_sign(x: *mut X509, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> c_int;
pub fn X509_get_pubkey(x: *mut X509) -> *mut EVP_PKEY;
pub fn X509_to_X509_REQ(x: *mut X509, pkey: *mut EVP_PKEY, md: *const EVP_MD) -> *mut X509_REQ;
+ pub fn X509_verify_cert_error_string(n: c_long) -> *const c_char;
pub fn X509_EXTENSION_free(ext: *mut X509_EXTENSION);