summaryrefslogtreecommitdiffstats
path: root/crypto/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-08-31 22:30:13 +0200
committerDr. Stephen Henson <steve@openssl.org>2015-09-02 22:26:17 +0200
commite3e571925c40f4d9e0adfc7704e5df2057a13a19 (patch)
tree77221e5e693880f49b88e1396206f8d4879c586d /crypto/include
parentExtend ciphersuite test coverage. (diff)
downloadopenssl-e3e571925c40f4d9e0adfc7704e5df2057a13a19.tar.xz
openssl-e3e571925c40f4d9e0adfc7704e5df2057a13a19.zip
make X509_CRL opaque
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/include')
-rw-r--r--crypto/include/internal/x509_int.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/crypto/include/internal/x509_int.h b/crypto/include/internal/x509_int.h
index 70abb2cd45..846a320902 100644
--- a/crypto/include/internal/x509_int.h
+++ b/crypto/include/internal/x509_int.h
@@ -105,3 +105,36 @@ struct X509_req_st {
ASN1_BIT_STRING *signature;
int references;
};
+
+struct X509_crl_info_st {
+ ASN1_INTEGER *version;
+ X509_ALGOR *sig_alg;
+ X509_NAME *issuer;
+ ASN1_TIME *lastUpdate;
+ ASN1_TIME *nextUpdate;
+ STACK_OF(X509_REVOKED) *revoked;
+ STACK_OF(X509_EXTENSION) /* [0] */ *extensions;
+ ASN1_ENCODING enc;
+};
+
+struct X509_crl_st {
+ /* actual signature */
+ X509_CRL_INFO *crl;
+ X509_ALGOR *sig_alg;
+ ASN1_BIT_STRING *signature;
+ int references;
+ int flags;
+ /* Copies of various extensions */
+ AUTHORITY_KEYID *akid;
+ ISSUING_DIST_POINT *idp;
+ /* Convenient breakdown of IDP */
+ int idp_flags;
+ int idp_reasons;
+ /* CRL and base CRL numbers for delta processing */
+ ASN1_INTEGER *crl_number;
+ ASN1_INTEGER *base_crl_number;
+ unsigned char sha1_hash[SHA_DIGEST_LENGTH];
+ STACK_OF(GENERAL_NAMES) *issuers;
+ const X509_CRL_METHOD *meth;
+ void *meth_data;
+};