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 {
8787 }
8888
8989 builder = builder
90- . header ( "pkcs11.h" )
90+ . header ( "vendor/ pkcs11.h" )
9191 . dynamic_library_name ( "Pkcs11" )
9292 // The PKCS11 library works in a slightly different way to most shared libraries. We have
9393 // to call `C_GetFunctionList`, which returns a list of pointers to the _actual_ library
@@ -96,7 +96,7 @@ mod generate {
9696 // This is needed because no types will be generated if `allowlist_function` is used.
9797 // Unsure if this is a bug.
9898 . allowlist_type ( "*" )
99- . allowlist_file ( "pkcs11.h" )
99+ . allowlist_file ( "vendor/ pkcs11.h" )
100100 // See this issue: https://github.com/parallaxsecond/rust-cryptoki/issues/12
101101 . blocklist_type ( "max_align_t" )
102102 // 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