summaryrefslogtreecommitdiff
path: root/systest
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2017-01-13 19:38:12 -0800
committerSteven Fackler <sfackler@gmail.com>2017-01-14 21:09:38 -0800
commit920ab0d6fb60c17077f43d7f08ad3ff391201689 (patch)
tree2ede3415426f622fe2aff78eaa70a3d64f35a403 /systest
parent9942643ab6fbdecb0561fcdc08565d4f154865b3 (diff)
downloadrust-openssl-920ab0d6fb60c17077f43d7f08ad3ff391201689.zip
OCSP functionality
Diffstat (limited to 'systest')
-rw-r--r--systest/build.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/systest/build.rs b/systest/build.rs
index 2f0fd136..b12739f0 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -46,7 +46,8 @@ fn main() {
.header("openssl/err.h")
.header("openssl/rand.h")
.header("openssl/pkcs12.h")
- .header("openssl/bn.h");
+ .header("openssl/bn.h")
+ .header("openssl/ocsp.h");
cfg.type_name(|s, is_struct| {
// Add some `*` on some callback parameters to get function pointer to
// typecheck in C, especially on MSVC.
@@ -90,6 +91,8 @@ fn main() {
});
cfg.skip_signededness(|s| {
s.ends_with("_cb") ||
+ s.ends_with("_CB") ||
+ s.ends_with("_cb_fn") ||
s.starts_with("CRYPTO_") ||
s == "PasswordCallback"
});