From 44748efc8503b5efe3d9d5aab5c754e4e0d9a442 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 5 Sep 2015 12:28:54 +0100 Subject: [PATCH] make X509_REVOKED opaque Reviewed-by: Tim Hudson --- crypto/include/internal/x509_int.h | 11 +++++++++++ include/openssl/x509.h | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) 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; -- 2.34.1