summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
authorjsing <>2015-02-10 11:22:22 +0000
committerjsing <>2015-02-10 11:22:22 +0000
commitf615895acf9eb579a4183eb9a32ea5ab0e2d7cb6 (patch)
treec02735ca2fc8cdea318f668cd6add971e7322283 /src/lib/libcrypto/x509
parentcdb7be83319e074737e0c8a1a62fed485bd1c0de (diff)
downloadopenbsd-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/x509')
-rw-r--r--src/lib/libcrypto/x509/x509_lu.c5
-rw-r--r--src/lib/libcrypto/x509/x509_trs.c4
2 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509/x509_lu.c b/src/lib/libcrypto/x509/x509_lu.c
index 39c82a71f1..e8151b774a 100644
--- a/src/lib/libcrypto/x509/x509_lu.c
+++ b/src/lib/libcrypto/x509/x509_lu.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_lu.c,v 1.18 2014/09/26 19:32:15 miod Exp $ */ 1/* $OpenBSD: x509_lu.c,v 1.19 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 *
@@ -733,6 +733,3 @@ X509_STORE_set_verify_cb(X509_STORE *ctx,
733{ 733{
734 ctx->verify_cb = verify_cb; 734 ctx->verify_cb = verify_cb;
735} 735}
736
737IMPLEMENT_STACK_OF(X509_LOOKUP)
738IMPLEMENT_STACK_OF(X509_OBJECT)
diff --git a/src/lib/libcrypto/x509/x509_trs.c b/src/lib/libcrypto/x509/x509_trs.c
index 4fa9f81ee7..42fb97f571 100644
--- a/src/lib/libcrypto/x509/x509_trs.c
+++ b/src/lib/libcrypto/x509/x509_trs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_trs.c,v 1.19 2014/12/06 19:26:37 doug Exp $ */ 1/* $OpenBSD: x509_trs.c,v 1.20 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 */
@@ -90,8 +90,6 @@ static X509_TRUST trstandard[] = {
90 90
91#define X509_TRUST_COUNT (sizeof(trstandard)/sizeof(X509_TRUST)) 91#define X509_TRUST_COUNT (sizeof(trstandard)/sizeof(X509_TRUST))
92 92
93IMPLEMENT_STACK_OF(X509_TRUST)
94
95static STACK_OF(X509_TRUST) *trtable = NULL; 93static STACK_OF(X509_TRUST) *trtable = NULL;
96 94
97static int 95static int