diff options
Diffstat (limited to 'src/lib/libcrypto/ossl_typ.h')
-rw-r--r-- | src/lib/libcrypto/ossl_typ.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h index 285fd0b1d9..345fb1dc4d 100644 --- a/src/lib/libcrypto/ossl_typ.h +++ b/src/lib/libcrypto/ossl_typ.h | |||
@@ -97,15 +97,43 @@ typedef int ASN1_NULL; | |||
97 | 97 | ||
98 | #ifdef OPENSSL_SYS_WIN32 | 98 | #ifdef OPENSSL_SYS_WIN32 |
99 | #undef X509_NAME | 99 | #undef X509_NAME |
100 | #undef X509_EXTENSIONS | ||
101 | #undef X509_CERT_PAIR | ||
100 | #undef PKCS7_ISSUER_AND_SERIAL | 102 | #undef PKCS7_ISSUER_AND_SERIAL |
101 | #endif | 103 | #endif |
102 | 104 | ||
105 | #ifdef BIGNUM | ||
106 | #undef BIGNUM | ||
107 | #endif | ||
108 | typedef struct bignum_st BIGNUM; | ||
109 | typedef struct bignum_ctx BN_CTX; | ||
110 | typedef struct bn_blinding_st BN_BLINDING; | ||
111 | typedef struct bn_mont_ctx_st BN_MONT_CTX; | ||
112 | typedef struct bn_recp_ctx_st BN_RECP_CTX; | ||
113 | typedef struct bn_gencb_st BN_GENCB; | ||
114 | |||
115 | typedef struct buf_mem_st BUF_MEM; | ||
116 | |||
103 | typedef struct evp_cipher_st EVP_CIPHER; | 117 | typedef struct evp_cipher_st EVP_CIPHER; |
104 | typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; | 118 | typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; |
105 | typedef struct env_md_st EVP_MD; | 119 | typedef struct env_md_st EVP_MD; |
106 | typedef struct env_md_ctx_st EVP_MD_CTX; | 120 | typedef struct env_md_ctx_st EVP_MD_CTX; |
107 | typedef struct evp_pkey_st EVP_PKEY; | 121 | typedef struct evp_pkey_st EVP_PKEY; |
108 | 122 | ||
123 | typedef struct dh_st DH; | ||
124 | typedef struct dh_method DH_METHOD; | ||
125 | |||
126 | typedef struct dsa_st DSA; | ||
127 | typedef struct dsa_method DSA_METHOD; | ||
128 | |||
129 | typedef struct rsa_st RSA; | ||
130 | typedef struct rsa_meth_st RSA_METHOD; | ||
131 | |||
132 | typedef struct rand_meth_st RAND_METHOD; | ||
133 | |||
134 | typedef struct ecdh_method ECDH_METHOD; | ||
135 | typedef struct ecdsa_method ECDSA_METHOD; | ||
136 | |||
109 | typedef struct x509_st X509; | 137 | typedef struct x509_st X509; |
110 | typedef struct X509_algor_st X509_ALGOR; | 138 | typedef struct X509_algor_st X509_ALGOR; |
111 | typedef struct X509_crl_st X509_CRL; | 139 | typedef struct X509_crl_st X509_CRL; |
@@ -113,10 +141,39 @@ typedef struct X509_name_st X509_NAME; | |||
113 | typedef struct x509_store_st X509_STORE; | 141 | typedef struct x509_store_st X509_STORE; |
114 | typedef struct x509_store_ctx_st X509_STORE_CTX; | 142 | typedef struct x509_store_ctx_st X509_STORE_CTX; |
115 | 143 | ||
144 | typedef struct v3_ext_ctx X509V3_CTX; | ||
145 | typedef struct conf_st CONF; | ||
146 | |||
147 | typedef struct store_st STORE; | ||
148 | typedef struct store_method_st STORE_METHOD; | ||
149 | |||
150 | typedef struct ui_st UI; | ||
151 | typedef struct ui_method_st UI_METHOD; | ||
152 | |||
153 | typedef struct st_ERR_FNS ERR_FNS; | ||
154 | |||
116 | typedef struct engine_st ENGINE; | 155 | typedef struct engine_st ENGINE; |
117 | 156 | ||
157 | typedef struct X509_POLICY_NODE_st X509_POLICY_NODE; | ||
158 | typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL; | ||
159 | typedef struct X509_POLICY_TREE_st X509_POLICY_TREE; | ||
160 | typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE; | ||
161 | |||
118 | /* If placed in pkcs12.h, we end up with a circular depency with pkcs7.h */ | 162 | /* If placed in pkcs12.h, we end up with a circular depency with pkcs7.h */ |
119 | #define DECLARE_PKCS12_STACK_OF(type) /* Nothing */ | 163 | #define DECLARE_PKCS12_STACK_OF(type) /* Nothing */ |
120 | #define IMPLEMENT_PKCS12_STACK_OF(type) /* Nothing */ | 164 | #define IMPLEMENT_PKCS12_STACK_OF(type) /* Nothing */ |
121 | 165 | ||
166 | typedef struct crypto_ex_data_st CRYPTO_EX_DATA; | ||
167 | /* Callback types for crypto.h */ | ||
168 | typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, | ||
169 | int idx, long argl, void *argp); | ||
170 | typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, | ||
171 | int idx, long argl, void *argp); | ||
172 | typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d, | ||
173 | int idx, long argl, void *argp); | ||
174 | |||
175 | typedef struct ocsp_req_ctx_st OCSP_REQ_CTX; | ||
176 | typedef struct ocsp_response_st OCSP_RESPONSE; | ||
177 | typedef struct ocsp_responder_id_st OCSP_RESPID; | ||
178 | |||
122 | #endif /* def HEADER_OPENSSL_TYPES_H */ | 179 | #endif /* def HEADER_OPENSSL_TYPES_H */ |