Commit 44748efc authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

make X509_REVOKED opaque



Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent 18716ba2
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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 */
};
+0 −11
Original line number Diff line number Diff line
@@ -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;