diff options
author | jsing <> | 2015-02-10 08:33:10 +0000 |
---|---|---|
committer | jsing <> | 2015-02-10 08:33:10 +0000 |
commit | 703b21ab4c794e7b44460fa1cee2b085dee30874 (patch) | |
tree | 91eb81a2adf39e9987776c79abd1fe96e5ef6b76 /src/lib/libcrypto/x509 | |
parent | 6147cf79cb9a00a2d12b54100ee049dfb7920375 (diff) | |
download | openbsd-703b21ab4c794e7b44460fa1cee2b085dee30874.tar.gz openbsd-703b21ab4c794e7b44460fa1cee2b085dee30874.tar.bz2 openbsd-703b21ab4c794e7b44460fa1cee2b085dee30874.zip |
The IMPLEMENT_STACK_OF and IMPLEMENT_ASN1_SET_OF macros were turned into
noops around 15 years ago. Remove multiple occurances of both that still
exist in the code today.
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r-- | src/lib/libcrypto/x509/x509_ext.c | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.c | 10 |
2 files changed, 2 insertions, 13 deletions
diff --git a/src/lib/libcrypto/x509/x509_ext.c b/src/lib/libcrypto/x509/x509_ext.c index a5b5430ad4..e90befaba1 100644 --- a/src/lib/libcrypto/x509/x509_ext.c +++ b/src/lib/libcrypto/x509/x509_ext.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_ext.c,v 1.8 2014/07/11 08:44:49 jsing Exp $ */ | 1 | /* $OpenBSD: x509_ext.c,v 1.9 2015/02/10 08:33:10 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 | * |
@@ -230,6 +230,3 @@ X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, | |||
230 | { | 230 | { |
231 | return X509V3_add1_i2d(&x->extensions, nid, value, crit, flags); | 231 | return X509V3_add1_i2d(&x->extensions, nid, value, crit, flags); |
232 | } | 232 | } |
233 | |||
234 | IMPLEMENT_STACK_OF(X509_EXTENSION) | ||
235 | IMPLEMENT_ASN1_SET_OF(X509_EXTENSION) | ||
diff --git a/src/lib/libcrypto/x509/x509_vfy.c b/src/lib/libcrypto/x509/x509_vfy.c index cda8aeafa9..5e3b0a5606 100644 --- a/src/lib/libcrypto/x509/x509_vfy.c +++ b/src/lib/libcrypto/x509/x509_vfy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.c,v 1.38 2014/09/29 04:20:14 miod Exp $ */ | 1 | /* $OpenBSD: x509_vfy.c,v 1.39 2015/02/10 08:33:10 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 | * |
@@ -2202,11 +2202,3 @@ X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param) | |||
2202 | X509_VERIFY_PARAM_free(ctx->param); | 2202 | X509_VERIFY_PARAM_free(ctx->param); |
2203 | ctx->param = param; | 2203 | ctx->param = param; |
2204 | } | 2204 | } |
2205 | |||
2206 | IMPLEMENT_STACK_OF(X509) | ||
2207 | IMPLEMENT_ASN1_SET_OF(X509) | ||
2208 | |||
2209 | IMPLEMENT_STACK_OF(X509_NAME) | ||
2210 | |||
2211 | IMPLEMENT_STACK_OF(X509_ATTRIBUTE) | ||
2212 | IMPLEMENT_ASN1_SET_OF(X509_ATTRIBUTE) | ||