diff options
| author | jsing <> | 2015-02-10 11:22:22 +0000 |
|---|---|---|
| committer | jsing <> | 2015-02-10 11:22:22 +0000 |
| commit | f615895acf9eb579a4183eb9a32ea5ab0e2d7cb6 (patch) | |
| tree | c02735ca2fc8cdea318f668cd6add971e7322283 /src/lib/libcrypto/x509v3 | |
| parent | cdb7be83319e074737e0c8a1a62fed485bd1c0de (diff) | |
| download | openbsd-f615895acf9eb579a4183eb9a32ea5ab0e2d7cb6.tar.gz openbsd-f615895acf9eb579a4183eb9a32ea5ab0e2d7cb6.tar.bz2 openbsd-f615895acf9eb579a4183eb9a32ea5ab0e2d7cb6.zip | |
Remove more IMPLEMENT_STACK_OF noops that have been hiding for the last
15 years.
Diffstat (limited to 'src/lib/libcrypto/x509v3')
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_cpols.c | 5 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_lib.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_purp.c | 4 |
3 files changed, 3 insertions, 10 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_cpols.c b/src/lib/libcrypto/x509v3/v3_cpols.c index 6ceb93d372..f024039fdd 100644 --- a/src/lib/libcrypto/x509v3/v3_cpols.c +++ b/src/lib/libcrypto/x509v3/v3_cpols.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_cpols.c,v 1.17 2015/02/09 16:03:11 jsing Exp $ */ | 1 | /* $OpenBSD: v3_cpols.c,v 1.18 2015/02/10 11:22:22 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -612,6 +612,3 @@ X509_POLICY_NODE_print(BIO *out, X509_POLICY_NODE *node, int indent) | |||
| 612 | else | 612 | else |
| 613 | BIO_printf(out, "%*sNo Qualifiers\n", indent + 2, ""); | 613 | BIO_printf(out, "%*sNo Qualifiers\n", indent + 2, ""); |
| 614 | } | 614 | } |
| 615 | |||
| 616 | IMPLEMENT_STACK_OF(X509_POLICY_NODE) | ||
| 617 | IMPLEMENT_STACK_OF(X509_POLICY_DATA) | ||
diff --git a/src/lib/libcrypto/x509v3/v3_lib.c b/src/lib/libcrypto/x509v3/v3_lib.c index 8870177f51..7731c7c544 100644 --- a/src/lib/libcrypto/x509v3/v3_lib.c +++ b/src/lib/libcrypto/x509v3/v3_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_lib.c,v 1.13 2014/07/11 08:44:49 jsing Exp $ */ | 1 | /* $OpenBSD: v3_lib.c,v 1.14 2015/02/10 11:22:22 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 1999. | 3 | * project 1999. |
| 4 | */ | 4 | */ |
| @@ -343,5 +343,3 @@ err: | |||
| 343 | X509V3err(X509V3_F_X509V3_ADD1_I2D, errcode); | 343 | X509V3err(X509V3_F_X509V3_ADD1_I2D, errcode); |
| 344 | return 0; | 344 | return 0; |
| 345 | } | 345 | } |
| 346 | |||
| 347 | IMPLEMENT_STACK_OF(X509V3_EXT_METHOD) | ||
diff --git a/src/lib/libcrypto/x509v3/v3_purp.c b/src/lib/libcrypto/x509v3/v3_purp.c index b020f87a0f..d1e888482e 100644 --- a/src/lib/libcrypto/x509v3/v3_purp.c +++ b/src/lib/libcrypto/x509v3/v3_purp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: v3_purp.c,v 1.24 2014/12/06 19:26:37 doug Exp $ */ | 1 | /* $OpenBSD: v3_purp.c,v 1.25 2015/02/10 11:22:22 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -103,8 +103,6 @@ static X509_PURPOSE xstandard[] = { | |||
| 103 | 103 | ||
| 104 | #define X509_PURPOSE_COUNT (sizeof(xstandard)/sizeof(X509_PURPOSE)) | 104 | #define X509_PURPOSE_COUNT (sizeof(xstandard)/sizeof(X509_PURPOSE)) |
| 105 | 105 | ||
| 106 | IMPLEMENT_STACK_OF(X509_PURPOSE) | ||
| 107 | |||
| 108 | static STACK_OF(X509_PURPOSE) *xptable = NULL; | 106 | static STACK_OF(X509_PURPOSE) *xptable = NULL; |
| 109 | 107 | ||
| 110 | static int | 108 | static int |
