| 1 | /* |
| 2 | * Generated by util/mkerr.pl DO NOT EDIT |
| 3 | * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. |
| 4 | * |
| 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
| 6 | * this file except in compliance with the License. You can obtain a copy |
| 7 | * in the file LICENSE in the source distribution or at |
| 8 | * https://www.openssl.org/source/license.html |
| 9 | */ |
| 10 | |
| 11 | #ifndef OPENSSL_CTERR_H |
| 12 | # define OPENSSL_CTERR_H |
| 13 | # pragma once |
| 14 | |
| 15 | # include <openssl/opensslconf.h> |
| 16 | # include <openssl/symhacks.h> |
| 17 | # include <openssl/cryptoerr_legacy.h> |
| 18 | |
| 19 | |
| 20 | # ifndef OPENSSL_NO_CT |
| 21 | |
| 22 | |
| 23 | /* |
| 24 | * CT reason codes. |
| 25 | */ |
| 26 | # define CT_R_BASE64_DECODE_ERROR 108 |
| 27 | # define CT_R_INVALID_LOG_ID_LENGTH 100 |
| 28 | # define CT_R_LOG_CONF_INVALID 109 |
| 29 | # define CT_R_LOG_CONF_INVALID_KEY 110 |
| 30 | # define CT_R_LOG_CONF_MISSING_DESCRIPTION 111 |
| 31 | # define CT_R_LOG_CONF_MISSING_KEY 112 |
| 32 | # define CT_R_LOG_KEY_INVALID 113 |
| 33 | # define CT_R_SCT_FUTURE_TIMESTAMP 116 |
| 34 | # define CT_R_SCT_INVALID 104 |
| 35 | # define CT_R_SCT_INVALID_SIGNATURE 107 |
| 36 | # define CT_R_SCT_LIST_INVALID 105 |
| 37 | # define CT_R_SCT_LOG_ID_MISMATCH 114 |
| 38 | # define CT_R_SCT_NOT_SET 106 |
| 39 | # define CT_R_SCT_UNSUPPORTED_VERSION 115 |
| 40 | # define CT_R_UNRECOGNIZED_SIGNATURE_NID 101 |
| 41 | # define CT_R_UNSUPPORTED_ENTRY_TYPE 102 |
| 42 | # define CT_R_UNSUPPORTED_VERSION 103 |
| 43 | |
| 44 | # endif |
| 45 | #endif |
| 46 | |