diff options
author | Rich Salz <rsalz@openssl.org> | 2015-02-06 10:47:53 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-02-06 10:47:53 -0500 |
commit | 5b18d3025c1c1d36be8f81f137265b46da58f881 (patch) | |
tree | 346ebe0e9e4261719adb3b5d09e0fbaf45374227 /crypto/x509 | |
parent | 1a53f1d68b0444655743fc87e8e9f535d090fa20 (diff) |
util/mkstack.pl now generates entire safestack.h
The mkstack.pl script now generates the entire safestack.h file.
It generates output that follows the coding style.
Also, removed all instances of the obsolete IMPLEMENT_STACK_OF
macro.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509_ext.c | 2 | ||||
-rw-r--r-- | crypto/x509/x509_lu.c | 4 | ||||
-rw-r--r-- | crypto/x509/x509_trs.c | 2 | ||||
-rw-r--r-- | crypto/x509/x509_vfy.c | 6 |
4 files changed, 0 insertions, 14 deletions
diff --git a/crypto/x509/x509_ext.c b/crypto/x509/x509_ext.c index fb4e311d71..1790b1b8c3 100644 --- a/crypto/x509/x509_ext.c +++ b/crypto/x509/x509_ext.c @@ -206,6 +206,4 @@ int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, return X509V3_add1_i2d(&x->extensions, nid, value, crit, flags); } -IMPLEMENT_STACK_OF(X509_EXTENSION) - IMPLEMENT_ASN1_SET_OF(X509_EXTENSION) diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c index 85fb59cb13..f77e59df37 100644 --- a/crypto/x509/x509_lu.c +++ b/crypto/x509/x509_lu.c @@ -717,7 +717,3 @@ X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *ctx) { return ctx->ctx; } - -IMPLEMENT_STACK_OF(X509_LOOKUP) - -IMPLEMENT_STACK_OF(X509_OBJECT) diff --git a/crypto/x509/x509_trs.c b/crypto/x509/x509_trs.c index 11e0763403..92ea2b586f 100644 --- a/crypto/x509/x509_trs.c +++ b/crypto/x509/x509_trs.c @@ -96,8 +96,6 @@ static X509_TRUST trstandard[] = { #define X509_TRUST_COUNT (sizeof(trstandard)/sizeof(X509_TRUST)) -IMPLEMENT_STACK_OF(X509_TRUST) - static STACK_OF(X509_TRUST) *trtable = NULL; static int tr_cmp(const X509_TRUST *const *a, const X509_TRUST *const *b) diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 31bb95b688..22c1f6859f 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -2403,12 +2403,6 @@ void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param) ctx->param = param; } -IMPLEMENT_STACK_OF(X509) - IMPLEMENT_ASN1_SET_OF(X509) -IMPLEMENT_STACK_OF(X509_NAME) - -IMPLEMENT_STACK_OF(X509_ATTRIBUTE) - IMPLEMENT_ASN1_SET_OF(X509_ATTRIBUTE) |