File tree Expand file tree Collapse file tree 3 files changed +344
-328
lines changed Expand file tree Collapse file tree 3 files changed +344
-328
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ mod generate {
87
87
}
88
88
89
89
builder = builder
90
- . header ( "pkcs11.h" )
90
+ . header ( "vendor/ pkcs11.h" )
91
91
. dynamic_library_name ( "Pkcs11" )
92
92
// The PKCS11 library works in a slightly different way to most shared libraries. We have
93
93
// to call `C_GetFunctionList`, which returns a list of pointers to the _actual_ library
@@ -96,7 +96,7 @@ mod generate {
96
96
// This is needed because no types will be generated if `allowlist_function` is used.
97
97
// Unsure if this is a bug.
98
98
. allowlist_type ( "*" )
99
- . allowlist_file ( "pkcs11.h" )
99
+ . allowlist_file ( "vendor/ pkcs11.h" )
100
100
// See this issue: https://github.com/parallaxsecond/rust-cryptoki/issues/12
101
101
. blocklist_type ( "max_align_t" )
102
102
// Derive the `Debug` trait for the generated structs where possible.
Original file line number Diff line number Diff line change
1
+ Vendor
2
+
3
+ This is downloaded from https://github.com/latchset/pkcs11-headers/blob/b131b9e4599db6e0287a3d74f6768e08a0c82d23/public-domain/3.0/pkcs11.h :
4
+
5
+ ``` shell
6
+ wget https://raw.githubusercontent.com/latchset/pkcs11-headers/b131b9e4599db6e0287a3d74f6768e08a0c82d23/public-domain/3.0/pkcs11.h
7
+ ```
You can’t perform that action at this time.
0 commit comments