diff options
| author | Steven Fackler <[email protected]> | 2016-08-07 21:34:58 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-08-07 21:34:58 -0700 |
| commit | 79602b6af4eaad34c277ec6a6219efc514c1342e (patch) | |
| tree | 46ddfc29ec7a7757d4c8daad2a1272ed5a3e349d /openssl/src/x509/mod.rs | |
| parent | DH cleanup (diff) | |
| download | rust-openssl-79602b6af4eaad34c277ec6a6219efc514c1342e.tar.xz rust-openssl-79602b6af4eaad34c277ec6a6219efc514c1342e.zip | |
get_error -> error
Diffstat (limited to 'openssl/src/x509/mod.rs')
| -rw-r--r-- | openssl/src/x509/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index fb9d466d..b551a544 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -83,7 +83,7 @@ impl X509StoreContext { X509StoreContext { ctx: ctx } } - pub fn get_error(&self) -> Option<X509ValidationError> { + pub fn error(&self) -> Option<X509ValidationError> { let err = unsafe { ffi::X509_STORE_CTX_get_error(self.ctx) }; X509ValidationError::from_raw(err) } |