| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | /* |
| 5 | * Copyright (C) 1994-1999 RSA Security Inc. Licence to copy this document |
| 6 | * is granted provided that it is identified as "RSA Security Inc. Public-Key |
| 7 | * Cryptography Standards (PKCS)" in all material mentioning or referencing |
| 8 | * this document. |
| 9 | */ |
| 10 | /* these data types are platform/implementation dependent. */ |
| 11 | /* |
| 12 | * Packing was removed from the shipped RSA header files, even |
| 13 | * though it's still needed. put in a central file to help merging.. |
| 14 | */ |
| 15 | |
| 16 | #if defined(_WIN32) || defined(_WINDOWS) |
| 17 | #ifdef __clang__ |
| 18 | #pragma clang diagnostic ignored "-Wpragma-pack" |
| 19 | #endif |
| 20 | #ifdef _MSC_VER |
| 21 | #pragma warning(disable : 4103) |
| 22 | #endif |
| 23 | #pragma pack(push, cryptoki, 1) |
| 24 | #endif |
| 25 | |