diff options
| author | jsing <> | 2015-02-10 11:22:22 +0000 |
|---|---|---|
| committer | jsing <> | 2015-02-10 11:22:22 +0000 |
| commit | 2469f93300b26559ef047be50758bab7378dc2f1 (patch) | |
| tree | c02735ca2fc8cdea318f668cd6add971e7322283 /src/lib/libcrypto/asn1 | |
| parent | 8e3767cefee0b61a7599b3ce219675e54c312702 (diff) | |
| download | openbsd-2469f93300b26559ef047be50758bab7378dc2f1.tar.gz openbsd-2469f93300b26559ef047be50758bab7378dc2f1.tar.bz2 openbsd-2469f93300b26559ef047be50758bab7378dc2f1.zip | |
Remove more IMPLEMENT_STACK_OF noops that have been hiding for the last
15 years.
Diffstat (limited to 'src/lib/libcrypto/asn1')
| -rw-r--r-- | src/lib/libcrypto/asn1/a_strnid.c | 5 | ||||
| -rw-r--r-- | src/lib/libcrypto/asn1/asn_mime.c | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/asn1/x_info.c | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/libcrypto/asn1/a_strnid.c b/src/lib/libcrypto/asn1/a_strnid.c index 4da45c537e..0744ffb228 100644 --- a/src/lib/libcrypto/asn1/a_strnid.c +++ b/src/lib/libcrypto/asn1/a_strnid.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: a_strnid.c,v 1.18 2014/10/28 05:46:55 miod Exp $ */ | 1 | /* $OpenBSD: a_strnid.c,v 1.19 2015/02/10 11:22:21 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 | */ |
| @@ -290,6 +290,3 @@ st_free(ASN1_STRING_TABLE *tbl) | |||
| 290 | if (tbl->flags & STABLE_FLAGS_MALLOC) | 290 | if (tbl->flags & STABLE_FLAGS_MALLOC) |
| 291 | free(tbl); | 291 | free(tbl); |
| 292 | } | 292 | } |
| 293 | |||
| 294 | |||
| 295 | IMPLEMENT_STACK_OF(ASN1_STRING_TABLE) | ||
diff --git a/src/lib/libcrypto/asn1/asn_mime.c b/src/lib/libcrypto/asn1/asn_mime.c index 461ee16a4b..4759965489 100644 --- a/src/lib/libcrypto/asn1/asn_mime.c +++ b/src/lib/libcrypto/asn1/asn_mime.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn_mime.c,v 1.24 2015/02/08 22:17:49 miod Exp $ */ | 1 | /* $OpenBSD: asn_mime.c,v 1.25 2015/02/10 11:22:21 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. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -79,7 +79,6 @@ typedef struct { | |||
| 79 | } MIME_PARAM; | 79 | } MIME_PARAM; |
| 80 | 80 | ||
| 81 | DECLARE_STACK_OF(MIME_PARAM) | 81 | DECLARE_STACK_OF(MIME_PARAM) |
| 82 | IMPLEMENT_STACK_OF(MIME_PARAM) | ||
| 83 | 82 | ||
| 84 | typedef struct { | 83 | typedef struct { |
| 85 | char *name; /* Name of line e.g. "content-type" */ | 84 | char *name; /* Name of line e.g. "content-type" */ |
diff --git a/src/lib/libcrypto/asn1/x_info.c b/src/lib/libcrypto/asn1/x_info.c index 6c055fd441..466deaf6ce 100644 --- a/src/lib/libcrypto/asn1/x_info.c +++ b/src/lib/libcrypto/asn1/x_info.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x_info.c,v 1.14 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: x_info.c,v 1.15 2015/02/10 11:22:21 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -106,5 +106,3 @@ X509_INFO_free(X509_INFO *x) | |||
| 106 | free(x->enc_data); | 106 | free(x->enc_data); |
| 107 | free(x); | 107 | free(x); |
| 108 | } | 108 | } |
| 109 | |||
| 110 | IMPLEMENT_STACK_OF(X509_INFO) | ||
