X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fossl_typ.h;h=7ee4f3982cf86d08ac2e226d8fd87e7accd2d521;hb=6a7a4a4e19a339889e8238b6b23b5d3c010a0361;hp=ea9227f6f95a88ff1672680a53bf38225d8b2b81;hpb=9309ea66177f927aefa14bf317a578427139a0fc;p=oweals%2Fopenssl.git diff --git a/crypto/ossl_typ.h b/crypto/ossl_typ.h index ea9227f6f9..7ee4f3982c 100644 --- a/crypto/ossl_typ.h +++ b/crypto/ossl_typ.h @@ -55,6 +55,10 @@ #ifndef HEADER_OPENSSL_TYPES_H #define HEADER_OPENSSL_TYPES_H +#ifdef __cplusplus +extern "C" { +#endif + #include #ifdef NO_ASN1_TYPEDEFS @@ -96,6 +100,8 @@ typedef int ASN1_BOOLEAN; typedef int ASN1_NULL; #endif +typedef struct asn1_object_st ASN1_OBJECT; + typedef struct ASN1_ITEM_st ASN1_ITEM; typedef struct asn1_pctx_st ASN1_PCTX; @@ -199,4 +205,7 @@ typedef struct ocsp_req_ctx_st OCSP_REQ_CTX; typedef struct ocsp_response_st OCSP_RESPONSE; typedef struct ocsp_responder_id_st OCSP_RESPID; +#ifdef __cplusplus +} +#endif #endif /* def HEADER_OPENSSL_TYPES_H */