summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ct/cterr.h
diff options
context:
space:
mode:
authortb <>2022-05-08 20:59:32 +0000
committertb <>2022-05-08 20:59:32 +0000
commit8cd405b40cda8503a806224763bb295465187159 (patch)
tree5167ca966a810401b634b9f50af18b016856391f /src/lib/libcrypto/ct/cterr.h
parentb7c0075171fa55c711c596c91e3ecb297d3e0cd4 (diff)
downloadopenbsd-8cd405b40cda8503a806224763bb295465187159.tar.gz
openbsd-8cd405b40cda8503a806224763bb295465187159.tar.bz2
openbsd-8cd405b40cda8503a806224763bb295465187159.zip
Remove openssl/cterr.h and inline it in openssl/ct.h
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ct/cterr.h')
-rw-r--r--src/lib/libcrypto/ct/cterr.h127
1 files changed, 0 insertions, 127 deletions
diff --git a/src/lib/libcrypto/ct/cterr.h b/src/lib/libcrypto/ct/cterr.h
deleted file mode 100644
index 07ae519bb2..0000000000
--- a/src/lib/libcrypto/ct/cterr.h
+++ /dev/null
@@ -1,127 +0,0 @@
1/* $OpenBSD: cterr.h,v 1.5 2021/12/18 16:50:40 tb Exp $ */
2/* ====================================================================
3 * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
15 * distribution.
16 *
17 * 3. All advertising materials mentioning features or use of this
18 * software must display the following acknowledgment:
19 * "This product includes software developed by the OpenSSL Project
20 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
21 *
22 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
23 * endorse or promote products derived from this software without
24 * prior written permission. For written permission, please contact
25 * openssl-core@OpenSSL.org.
26 *
27 * 5. Products derived from this software may not be called "OpenSSL"
28 * nor may "OpenSSL" appear in their names without prior written
29 * permission of the OpenSSL Project.
30 *
31 * 6. Redistributions of any form whatsoever must retain the following
32 * acknowledgment:
33 * "This product includes software developed by the OpenSSL Project
34 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
35 *
36 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
37 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
38 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
39 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
40 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
42 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
43 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47 * OF THE POSSIBILITY OF SUCH DAMAGE.
48 * ====================================================================
49 *
50 * This product includes cryptographic software written by Eric Young
51 * (eay@cryptsoft.com). This product includes software written by Tim
52 * Hudson (tjh@cryptsoft.com).
53 *
54 */
55
56/* NOTE: this file was auto generated by the mkerr.pl script: any changes
57 * made to it will be overwritten when the script next updates this file,
58 * only reason strings will be preserved.
59 */
60
61#ifndef HEADER_CTERR_H
62# define HEADER_CTERR_H
63
64# include <openssl/opensslconf.h>
65
66# ifndef OPENSSL_NO_CT
67
68#ifdef __cplusplus
69extern "C"
70#endif
71
72int ERR_load_CT_strings(void);
73
74/*
75 * CT function codes.
76 */
77# define CT_F_CTLOG_NEW 117
78# define CT_F_CTLOG_NEW_FROM_BASE64 118
79# define CT_F_CTLOG_NEW_FROM_CONF 119
80# define CT_F_CTLOG_STORE_LOAD_CTX_NEW 122
81# define CT_F_CTLOG_STORE_LOAD_FILE 123
82# define CT_F_CTLOG_STORE_LOAD_LOG 130
83# define CT_F_CTLOG_STORE_NEW 131
84# define CT_F_CT_BASE64_DECODE 124
85# define CT_F_CT_POLICY_EVAL_CTX_NEW 133
86# define CT_F_CT_V1_LOG_ID_FROM_PKEY 125
87# define CT_F_I2O_SCT 107
88# define CT_F_I2O_SCT_LIST 108
89# define CT_F_I2O_SCT_SIGNATURE 109
90# define CT_F_O2I_SCT 110
91# define CT_F_O2I_SCT_LIST 111
92# define CT_F_O2I_SCT_SIGNATURE 112
93# define CT_F_SCT_CTX_NEW 126
94# define CT_F_SCT_CTX_VERIFY 128
95# define CT_F_SCT_NEW 100
96# define CT_F_SCT_NEW_FROM_BASE64 127
97# define CT_F_SCT_SET0_LOG_ID 101
98# define CT_F_SCT_SET1_EXTENSIONS 114
99# define CT_F_SCT_SET1_LOG_ID 115
100# define CT_F_SCT_SET1_SIGNATURE 116
101# define CT_F_SCT_SET_LOG_ENTRY_TYPE 102
102# define CT_F_SCT_SET_SIGNATURE_NID 103
103# define CT_F_SCT_SET_VERSION 104
104
105/*
106 * CT reason codes.
107 */
108# define CT_R_BASE64_DECODE_ERROR 108
109# define CT_R_INVALID_LOG_ID_LENGTH 100
110# define CT_R_LOG_CONF_INVALID 109
111# define CT_R_LOG_CONF_INVALID_KEY 110
112# define CT_R_LOG_CONF_MISSING_DESCRIPTION 111
113# define CT_R_LOG_CONF_MISSING_KEY 112
114# define CT_R_LOG_KEY_INVALID 113
115# define CT_R_SCT_FUTURE_TIMESTAMP 116
116# define CT_R_SCT_INVALID 104
117# define CT_R_SCT_INVALID_SIGNATURE 107
118# define CT_R_SCT_LIST_INVALID 105
119# define CT_R_SCT_LOG_ID_MISMATCH 114
120# define CT_R_SCT_NOT_SET 106
121# define CT_R_SCT_UNSUPPORTED_VERSION 115
122# define CT_R_UNRECOGNIZED_SIGNATURE_NID 101
123# define CT_R_UNSUPPORTED_ENTRY_TYPE 102
124# define CT_R_UNSUPPORTED_VERSION 103
125
126# endif
127#endif