summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-09-05 13:28:54 +0200
committerDr. Stephen Henson <steve@openssl.org>2015-09-05 13:29:51 +0200
commit44748efc8503b5efe3d9d5aab5c754e4e0d9a442 (patch)
tree3b1affd5436ca410a7f43da82482d665a1ffcbef /crypto
parentSupply a build rule for the recently added nptest (diff)
downloadopenssl-44748efc8503b5efe3d9d5aab5c754e4e0d9a442.tar.xz
openssl-44748efc8503b5efe3d9d5aab5c754e4e0d9a442.zip
make X509_REVOKED opaque
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/include/internal/x509_int.h11
1 files changed, 11 insertions, 0 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 */
+};