Skip to content

Commit

Permalink
make X509_REVOKED opaque
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
  • Loading branch information
snhenson committed Sep 5, 2015
1 parent 18716ba commit 44748ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 11 additions & 0 deletions crypto/include/internal/x509_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
11 changes: 0 additions & 11 deletions include/openssl/x509.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 44748ef

Please sign in to comment.