From: Dr. Stephen Henson Date: Sat, 5 Sep 2015 11:28:54 +0000 (+0100) Subject: make X509_REVOKED opaque X-Git-Tag: OpenSSL_1_1_0-pre1~714 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44748efc8503b5efe3d9d5aab5c754e4e0d9a442;p=oweals%2Fopenssl.git make X509_REVOKED opaque Reviewed-by: Tim Hudson --- diff --git a/crypto/include/internal/x509_int.h b/crypto/include/internal/x509_int.h index 846a320902..f8677a0299 100644 --- a/crypto/include/internal/x509_int.h +++ b/crypto/include/internal/x509_int.h @@ -138,3 +138,14 @@ struct X509_crl_st { const X509_CRL_METHOD *meth; void *meth_data; }; + +struct x509_revoked_st { + ASN1_INTEGER *serialNumber; + ASN1_TIME *revocationDate; + STACK_OF(X509_EXTENSION) /* optional */ *extensions; + /* Set up if indirect CRL */ + STACK_OF(GENERAL_NAME) *issuer; + /* Revocation reason */ + int reason; + int sequence; /* load sequence */ +}; diff --git a/include/openssl/x509.h b/include/openssl/x509.h index da6514d26d..661d81cd60 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -329,17 +329,6 @@ DECLARE_STACK_OF(X509_TRUST) XN_FLAG_FN_LN | \ XN_FLAG_FN_ALIGN) -struct x509_revoked_st { - ASN1_INTEGER *serialNumber; - ASN1_TIME *revocationDate; - STACK_OF(X509_EXTENSION) /* optional */ *extensions; - /* Set up if indirect CRL */ - STACK_OF(GENERAL_NAME) *issuer; - /* Revocation reason */ - int reason; - int sequence; /* load sequence */ -}; - DECLARE_STACK_OF(X509_REVOKED) typedef struct X509_crl_info_st X509_CRL_INFO;