提交 44748efc 编写于 作者: D Dr. Stephen Henson

make X509_REVOKED opaque

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 18716ba2
...@@ -138,3 +138,14 @@ struct X509_crl_st { ...@@ -138,3 +138,14 @@ struct X509_crl_st {
const X509_CRL_METHOD *meth; const X509_CRL_METHOD *meth;
void *meth_data; 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 */
};
...@@ -329,17 +329,6 @@ DECLARE_STACK_OF(X509_TRUST) ...@@ -329,17 +329,6 @@ DECLARE_STACK_OF(X509_TRUST)
XN_FLAG_FN_LN | \ XN_FLAG_FN_LN | \
XN_FLAG_FN_ALIGN) 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) DECLARE_STACK_OF(X509_REVOKED)
typedef struct X509_crl_info_st X509_CRL_INFO; typedef struct X509_crl_info_st X509_CRL_INFO;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册