1 | /* objects.h
|
---|
2 | *
|
---|
3 | * Copyright (C) 2006-2020 wolfSSL Inc.
|
---|
4 | *
|
---|
5 | * This file is part of wolfSSL.
|
---|
6 | *
|
---|
7 | * wolfSSL is free software; you can redistribute it and/or modify
|
---|
8 | * it under the terms of the GNU General Public License as published by
|
---|
9 | * the Free Software Foundation; either version 2 of the License, or
|
---|
10 | * (at your option) any later version.
|
---|
11 | *
|
---|
12 | * wolfSSL is distributed in the hope that it will be useful,
|
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
15 | * GNU General Public License for more details.
|
---|
16 | *
|
---|
17 | * You should have received a copy of the GNU General Public License
|
---|
18 | * along with this program; if not, write to the Free Software
|
---|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
---|
20 | */
|
---|
21 |
|
---|
22 |
|
---|
23 | #ifndef WOLFSSL_OBJECTS_H_
|
---|
24 | #define WOLFSSL_OBJECTS_H_
|
---|
25 |
|
---|
26 | #include <wolfssl/wolfcrypt/settings.h>
|
---|
27 | //#include <wolfssl/openssl/ssl.h>
|
---|
28 | #ifndef OPENSSL_EXTRA_SSL_GUARD
|
---|
29 | #define OPENSSL_EXTRA_SSL_GUARD
|
---|
30 | #include <wolfssl/ssl.h>
|
---|
31 | #endif /* OPENSSL_EXTRA_SSL_GUARD */
|
---|
32 |
|
---|
33 | #ifdef __cplusplus
|
---|
34 | extern "C" {
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | #define OBJ_nid2sn wolfSSL_OBJ_nid2sn
|
---|
38 | #define OBJ_obj2nid wolfSSL_OBJ_obj2nid
|
---|
39 | #define OBJ_sn2nid wolfSSL_OBJ_sn2nid
|
---|
40 | #define OBJ_nid2ln wolfSSL_OBJ_nid2ln
|
---|
41 | #define OBJ_ln2nid wolfSSL_OBJ_ln2nid
|
---|
42 | #define OBJ_txt2nid wolfSSL_OBJ_txt2nid
|
---|
43 | #define OBJ_txt2obj wolfSSL_OBJ_txt2obj
|
---|
44 | #define OBJ_nid2obj wolfSSL_OBJ_nid2obj
|
---|
45 | #define OBJ_obj2txt wolfSSL_OBJ_obj2txt
|
---|
46 | #define OBJ_cleanup wolfSSL_OBJ_cleanup
|
---|
47 | #define OBJ_cmp wolfSSL_OBJ_cmp
|
---|
48 | #define OBJ_create wolfSSL_OBJ_create
|
---|
49 | #define ASN1_OBJECT_free wolfSSL_ASN1_OBJECT_free
|
---|
50 |
|
---|
51 | /* not required for wolfSSL */
|
---|
52 | #define OPENSSL_load_builtin_modules()
|
---|
53 |
|
---|
54 |
|
---|
55 | #define NID_ad_OCSP 178
|
---|
56 | #define NID_ad_ca_issuers 179
|
---|
57 |
|
---|
58 |
|
---|
59 | #ifdef __cplusplus
|
---|
60 | } /* extern "C" */
|
---|
61 | #endif
|
---|
62 |
|
---|
63 | #endif /* WOLFSSL_OBJECTS_H_ */
|
---|