summaryrefslogtreecommitdiff
path: root/include/openssl/objectserr.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2022-07-09 15:51:59 +0300
committerdartraiden <wowemuh@gmail.com>2022-07-09 15:51:59 +0300
commit80027e6c84fa786dcccbf00ee429c453b68e86e7 (patch)
tree241a19f7f181d832d0edf913c563621f48c305a2 /include/openssl/objectserr.h
parent2d02051caa999d383103931097e44b9cac56c3fb (diff)
Revert "we do not use this code anymore"
This reverts commit 2d02051caa999d383103931097e44b9cac56c3fb.
Diffstat (limited to 'include/openssl/objectserr.h')
-rw-r--r--include/openssl/objectserr.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/openssl/objectserr.h b/include/openssl/objectserr.h
new file mode 100644
index 0000000000..02e166f1ac
--- /dev/null
+++ b/include/openssl/objectserr.h
@@ -0,0 +1,42 @@
+/*
+ * Generated by util/mkerr.pl DO NOT EDIT
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifndef HEADER_OBJERR_H
+# define HEADER_OBJERR_H
+
+# ifndef HEADER_SYMHACKS_H
+# include <openssl/symhacks.h>
+# endif
+
+# ifdef __cplusplus
+extern "C"
+# endif
+int ERR_load_OBJ_strings(void);
+
+/*
+ * OBJ function codes.
+ */
+# define OBJ_F_OBJ_ADD_OBJECT 105
+# define OBJ_F_OBJ_ADD_SIGID 107
+# define OBJ_F_OBJ_CREATE 100
+# define OBJ_F_OBJ_DUP 101
+# define OBJ_F_OBJ_NAME_NEW_INDEX 106
+# define OBJ_F_OBJ_NID2LN 102
+# define OBJ_F_OBJ_NID2OBJ 103
+# define OBJ_F_OBJ_NID2SN 104
+# define OBJ_F_OBJ_TXT2OBJ 108
+
+/*
+ * OBJ reason codes.
+ */
+# define OBJ_R_OID_EXISTS 102
+# define OBJ_R_UNKNOWN_NID 101
+
+#endif