summaryrefslogtreecommitdiff
path: root/openssl/src/ocsp.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2017-12-25 19:38:00 -0700
committerSteven Fackler <sfackler@gmail.com>2017-12-25 19:38:11 -0700
commitbbae793eb3ba06e5ad8813ce8182e52fb4a2abd3 (patch)
treeed619314cb51bc7597c3ac1a4ab3ea864f766d24 /openssl/src/ocsp.rs
parent2aaba8bd7ac9953edc0d86f9575862412ac26d98 (diff)
downloadrust-openssl-bbae793eb3ba06e5ad8813ce8182e52fb4a2abd3.zip
Upgrade bitflags to 1.0
Closes #756
Diffstat (limited to 'openssl/src/ocsp.rs')
-rw-r--r--openssl/src/ocsp.rs22
1 files changed, 11 insertions, 11 deletions
diff --git a/openssl/src/ocsp.rs b/openssl/src/ocsp.rs
index 65436a4c..37a88101 100644
--- a/openssl/src/ocsp.rs
+++ b/openssl/src/ocsp.rs
@@ -14,17 +14,17 @@ use x509::{X509, X509Ref};
bitflags! {
pub struct Flag: c_ulong {
- const FLAG_NO_CERTS = ffi::OCSP_NOCERTS;
- const FLAG_NO_INTERN = ffi::OCSP_NOINTERN;
- const FLAG_NO_CHAIN = ffi::OCSP_NOCHAIN;
- const FLAG_NO_VERIFY = ffi::OCSP_NOVERIFY;
- const FLAG_NO_EXPLICIT = ffi::OCSP_NOEXPLICIT;
- const FLAG_NO_CA_SIGN = ffi::OCSP_NOCASIGN;
- const FLAG_NO_DELEGATED = ffi::OCSP_NODELEGATED;
- const FLAG_NO_CHECKS = ffi::OCSP_NOCHECKS;
- const FLAG_TRUST_OTHER = ffi::OCSP_TRUSTOTHER;
- const FLAG_RESPID_KEY = ffi::OCSP_RESPID_KEY;
- const FLAG_NO_TIME = ffi::OCSP_NOTIME;
+ const NO_CERTS = ffi::OCSP_NOCERTS;
+ const NO_INTERN = ffi::OCSP_NOINTERN;
+ const NO_CHAIN = ffi::OCSP_NOCHAIN;
+ const NO_VERIFY = ffi::OCSP_NOVERIFY;
+ const NO_EXPLICIT = ffi::OCSP_NOEXPLICIT;
+ const NO_CA_SIGN = ffi::OCSP_NOCASIGN;
+ const NO_DELEGATED = ffi::OCSP_NODELEGATED;
+ const NO_CHECKS = ffi::OCSP_NOCHECKS;
+ const TRUST_OTHER = ffi::OCSP_TRUSTOTHER;
+ const RESPID_KEY = ffi::OCSP_RESPID_KEY;
+ const NO_TIME = ffi::OCSP_NOTIME;
}
}