| OLD | NEW |
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 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 | 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/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 /* | 4 /* |
| 5 * pkix_tools.h | 5 * pkix_tools.h |
| 6 * | 6 * |
| 7 * Header for Utility Functions and Macros | 7 * Header for Utility Functions and Macros |
| 8 * | 8 * |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1451 * PKIX_ERRORCLASSNAMES is an array of strings, with each string holding a | 1451 * PKIX_ERRORCLASSNAMES is an array of strings, with each string holding a |
| 1452 * descriptive name for an error code. This is used by the default | 1452 * descriptive name for an error code. This is used by the default |
| 1453 * PKIX_PL_Error_ToString function. | 1453 * PKIX_PL_Error_ToString function. |
| 1454 */ | 1454 */ |
| 1455 extern const char *PKIX_ERRORCLASSNAMES[PKIX_NUMERRORCLASSES]; | 1455 extern const char *PKIX_ERRORCLASSNAMES[PKIX_NUMERRORCLASSES]; |
| 1456 | 1456 |
| 1457 #define MAX_STACK_DEPTH 1000 | 1457 #define MAX_STACK_DEPTH 1000 |
| 1458 | 1458 |
| 1459 extern PRLogModuleInfo *pkixLog; | 1459 extern PRLogModuleInfo *pkixLog; |
| 1460 | 1460 |
| 1461 #define PKIX_MAGIC_HEADER LL_INIT(0xFEEDC0FF, 0xEEFACADE) | 1461 #define PKIX_MAGIC_HEADER PR_UINT64(0xFEEDC0FFEEFACADE) |
| 1462 #define PKIX_MAGIC_HEADER_DESTROYED LL_INIT(0xBAADF00D, 0xDEADBEEF) | 1462 #define PKIX_MAGIC_HEADER_DESTROYED PR_UINT64(0xBAADF00DDEADBEEF) |
| 1463 | 1463 |
| 1464 /* see source file for function documentation */ | 1464 /* see source file for function documentation */ |
| 1465 | 1465 |
| 1466 PKIX_Error * | 1466 PKIX_Error * |
| 1467 pkix_IsCertSelfIssued( | 1467 pkix_IsCertSelfIssued( |
| 1468 PKIX_PL_Cert *cert, | 1468 PKIX_PL_Cert *cert, |
| 1469 PKIX_Boolean *pSelfIssued, | 1469 PKIX_Boolean *pSelfIssued, |
| 1470 void *plContext); | 1470 void *plContext); |
| 1471 | 1471 |
| 1472 PKIX_Error * | 1472 PKIX_Error * |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1579 const char *info, | 1579 const char *info, |
| 1580 PKIX_PL_Cert *cert, | 1580 PKIX_PL_Cert *cert, |
| 1581 void *plContext); | 1581 void *plContext); |
| 1582 #endif | 1582 #endif |
| 1583 | 1583 |
| 1584 #ifdef __cplusplus | 1584 #ifdef __cplusplus |
| 1585 } | 1585 } |
| 1586 #endif | 1586 #endif |
| 1587 | 1587 |
| 1588 #endif /* _PKIX_TOOLS_H */ | 1588 #endif /* _PKIX_TOOLS_H */ |
| OLD | NEW |