diff options
| author | David Weinstein <[email protected]> | 2016-08-16 23:31:01 -0400 |
|---|---|---|
| committer | David Weinstein <[email protected]> | 2016-08-17 01:23:54 -0400 |
| commit | 234ce581f9401a7298d67e52bdeb857d4b53e645 (patch) | |
| tree | 3d1540401708db126b8c14d7a13ed76b81f50c0f /openssl/src | |
| parent | Add test for `"x509_validity"` feature (diff) | |
| download | rust-openssl-234ce581f9401a7298d67e52bdeb857d4b53e645.tar.xz rust-openssl-234ce581f9401a7298d67e52bdeb857d4b53e645.zip | |
Add x509_validity feature to travis tests
- also update docs for new x509 `not_before`, `not_after`
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/x509/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs index bb5743e9..649dfdc2 100644 --- a/openssl/src/x509/mod.rs +++ b/openssl/src/x509/mod.rs @@ -433,7 +433,8 @@ impl<'a> X509Ref<'a> { } } - /// Returns Issuer validity notAfter + /// Returns certificate Not Before validity period. + /// Requires the `x509_expiry` feature. #[cfg(feature = "x509_expiry")] pub fn not_after(&self) -> Asn1TimeRef { unsafe { @@ -443,7 +444,8 @@ impl<'a> X509Ref<'a> { } } - /// Returns Issuer validity notBefore + /// Returns certificate Not After validity period. + /// Requires the `x509_expiry` feature. #[cfg(feature = "x509_expiry")] pub fn not_before(&self) -> Asn1TimeRef { unsafe { |