]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
2a6a5607 | 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
52df25cf | 4 | * |
48f4ad77 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
52df25cf RS |
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 | ||
ae4186b0 DMSP |
11 | #ifndef OPENSSL_OBJECTSERR_H |
12 | # define OPENSSL_OBJECTSERR_H | |
d86167ec DMSP |
13 | # pragma once |
14 | ||
15 | # include <openssl/macros.h> | |
16 | # if !OPENSSL_API_3 | |
17 | # define HEADER_OBJERR_H | |
18 | # endif | |
52df25cf | 19 | |
cbfa5b03 RS |
20 | # include <openssl/opensslconf.h> |
21 | # include <openssl/symhacks.h> | |
22 | ||
2a6a5607 | 23 | |
52df25cf | 24 | # ifdef __cplusplus |
a699b8e4 | 25 | extern "C" |
52df25cf RS |
26 | # endif |
27 | int ERR_load_OBJ_strings(void); | |
52df25cf RS |
28 | |
29 | /* | |
30 | * OBJ function codes. | |
31 | */ | |
cbfa5b03 RS |
32 | # if !OPENSSL_API_3 |
33 | # define OBJ_F_OBJ_ADD_OBJECT 0 | |
34 | # define OBJ_F_OBJ_ADD_SIGID 0 | |
35 | # define OBJ_F_OBJ_CREATE 0 | |
36 | # define OBJ_F_OBJ_DUP 0 | |
37 | # define OBJ_F_OBJ_NAME_NEW_INDEX 0 | |
38 | # define OBJ_F_OBJ_NID2LN 0 | |
39 | # define OBJ_F_OBJ_NID2OBJ 0 | |
40 | # define OBJ_F_OBJ_NID2SN 0 | |
41 | # define OBJ_F_OBJ_TXT2OBJ 0 | |
42 | # endif | |
52df25cf RS |
43 | |
44 | /* | |
45 | * OBJ reason codes. | |
46 | */ | |
47 | # define OBJ_R_OID_EXISTS 102 | |
48 | # define OBJ_R_UNKNOWN_NID 101 | |
49 | ||
50 | #endif |