diff --git a/crypto/include/internal/x509_int.h b/crypto/include/internal/x509_int.h index 846a3209025757173a4f9154ad92da071d491b8f..f8677a0299a758436809d291c8b00d57a582aa79 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 da6514d26d1ea278984bb6eb3ebe355b17e0e39f..661d81cd60256022a5755b6c99616501c3988e4d 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;