Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pack pragma for struct padding back #245

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/aarch64-apple-darwin.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/aarch64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/arm-unknown-linux-gnueabi.rs

Large diffs are not rendered by default.

301 changes: 86 additions & 215 deletions cryptoki-sys/src/bindings/generic.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/i686-unknown-linux-gnu.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/loongarch64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/powerpc64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/x86_64-apple-darwin.rs

Large diffs are not rendered by default.

1,403 changes: 594 additions & 809 deletions cryptoki-sys/src/bindings/x86_64-pc-windows-msvc.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/x86_64-unknown-freebsd.rs

Large diffs are not rendered by default.

215 changes: 0 additions & 215 deletions cryptoki-sys/src/bindings/x86_64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions cryptoki-sys/vendor/pkcs11.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
#define CRYPTOKI_VERSION_MINOR 0
#define CRYPTOKI_VERSION_AMENDMENT 0

#if defined(_WIN32) || defined(CRYPTOKI_FORCE_WIN32)
#pragma pack(push, cryptoki, 1)
#endif

/* Basic types */
typedef unsigned char CK_BBOOL;
typedef unsigned char CK_BYTE;
Expand Down Expand Up @@ -2338,4 +2342,8 @@ struct CK_FUNCTION_LIST {
};


#if defined(_WIN32) || defined(CRYPTOKI_FORCE_WIN32)
#pragma pack(pop, cryptoki)
#endif

#endif
Loading