summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509/x509.h9
-rw-r--r--src/lib/libcrypto/x509v3/x509v3.h8
2 files changed, 2 insertions, 15 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index 1d5467b47d..056b6d118c 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.25 2016/11/04 10:29:19 beck Exp $ */ 1/* $OpenBSD: x509.h,v 1.26 2016/12/27 16:05:57 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 *
@@ -140,7 +140,6 @@ struct X509_algor_st
140 ASN1_TYPE *parameter; 140 ASN1_TYPE *parameter;
141 } /* X509_ALGOR */; 141 } /* X509_ALGOR */;
142 142
143DECLARE_ASN1_SET_OF(X509_ALGOR)
144 143
145typedef STACK_OF(X509_ALGOR) X509_ALGORS; 144typedef STACK_OF(X509_ALGOR) X509_ALGORS;
146 145
@@ -172,7 +171,6 @@ typedef struct X509_name_entry_st
172 } X509_NAME_ENTRY; 171 } X509_NAME_ENTRY;
173 172
174DECLARE_STACK_OF(X509_NAME_ENTRY) 173DECLARE_STACK_OF(X509_NAME_ENTRY)
175DECLARE_ASN1_SET_OF(X509_NAME_ENTRY)
176 174
177/* we always keep X509_NAMEs in 2 forms. */ 175/* we always keep X509_NAMEs in 2 forms. */
178struct X509_name_st 176struct X509_name_st
@@ -203,7 +201,6 @@ typedef struct X509_extension_st
203typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS; 201typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
204 202
205DECLARE_STACK_OF(X509_EXTENSION) 203DECLARE_STACK_OF(X509_EXTENSION)
206DECLARE_ASN1_SET_OF(X509_EXTENSION)
207 204
208/* a sequence of these are used */ 205/* a sequence of these are used */
209typedef struct x509_attributes_st 206typedef struct x509_attributes_st
@@ -218,7 +215,6 @@ typedef struct x509_attributes_st
218 } X509_ATTRIBUTE; 215 } X509_ATTRIBUTE;
219 216
220DECLARE_STACK_OF(X509_ATTRIBUTE) 217DECLARE_STACK_OF(X509_ATTRIBUTE)
221DECLARE_ASN1_SET_OF(X509_ATTRIBUTE)
222 218
223 219
224typedef struct X509_req_info_st 220typedef struct X509_req_info_st
@@ -298,7 +294,6 @@ struct x509_st
298 } /* X509 */; 294 } /* X509 */;
299 295
300DECLARE_STACK_OF(X509) 296DECLARE_STACK_OF(X509)
301DECLARE_ASN1_SET_OF(X509)
302 297
303/* This is used for a table of trust checking functions */ 298/* This is used for a table of trust checking functions */
304 299
@@ -433,7 +428,6 @@ struct x509_revoked_st
433 }; 428 };
434 429
435DECLARE_STACK_OF(X509_REVOKED) 430DECLARE_STACK_OF(X509_REVOKED)
436DECLARE_ASN1_SET_OF(X509_REVOKED)
437 431
438typedef struct X509_crl_info_st 432typedef struct X509_crl_info_st
439 { 433 {
@@ -473,7 +467,6 @@ struct X509_crl_st
473 } /* X509_CRL */; 467 } /* X509_CRL */;
474 468
475DECLARE_STACK_OF(X509_CRL) 469DECLARE_STACK_OF(X509_CRL)
476DECLARE_ASN1_SET_OF(X509_CRL)
477 470
478typedef struct private_key_st 471typedef struct private_key_st
479 { 472 {
diff --git a/src/lib/libcrypto/x509v3/x509v3.h b/src/lib/libcrypto/x509v3/x509v3.h
index 9f23f071c6..c0a543d406 100644
--- a/src/lib/libcrypto/x509v3/x509v3.h
+++ b/src/lib/libcrypto/x509v3/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.19 2016/12/27 15:37:07 jsing Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.20 2016/12/27 16:05:57 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 */
@@ -218,10 +218,8 @@ typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
218typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE; 218typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE;
219 219
220DECLARE_STACK_OF(GENERAL_NAME) 220DECLARE_STACK_OF(GENERAL_NAME)
221DECLARE_ASN1_SET_OF(GENERAL_NAME)
222 221
223DECLARE_STACK_OF(ACCESS_DESCRIPTION) 222DECLARE_STACK_OF(ACCESS_DESCRIPTION)
224DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION)
225 223
226typedef struct DIST_POINT_NAME_st { 224typedef struct DIST_POINT_NAME_st {
227int type; 225int type;
@@ -257,7 +255,6 @@ int dp_reasons;
257typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS; 255typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS;
258 256
259DECLARE_STACK_OF(DIST_POINT) 257DECLARE_STACK_OF(DIST_POINT)
260DECLARE_ASN1_SET_OF(DIST_POINT)
261 258
262struct AUTHORITY_KEYID_st { 259struct AUTHORITY_KEYID_st {
263ASN1_OCTET_STRING *keyid; 260ASN1_OCTET_STRING *keyid;
@@ -273,7 +270,6 @@ typedef struct SXNET_ID_st {
273} SXNETID; 270} SXNETID;
274 271
275DECLARE_STACK_OF(SXNETID) 272DECLARE_STACK_OF(SXNETID)
276DECLARE_ASN1_SET_OF(SXNETID)
277 273
278typedef struct SXNET_st { 274typedef struct SXNET_st {
279 ASN1_INTEGER *version; 275 ASN1_INTEGER *version;
@@ -300,7 +296,6 @@ typedef struct POLICYQUALINFO_st {
300} POLICYQUALINFO; 296} POLICYQUALINFO;
301 297
302DECLARE_STACK_OF(POLICYQUALINFO) 298DECLARE_STACK_OF(POLICYQUALINFO)
303DECLARE_ASN1_SET_OF(POLICYQUALINFO)
304 299
305typedef struct POLICYINFO_st { 300typedef struct POLICYINFO_st {
306 ASN1_OBJECT *policyid; 301 ASN1_OBJECT *policyid;
@@ -310,7 +305,6 @@ typedef struct POLICYINFO_st {
310typedef STACK_OF(POLICYINFO) CERTIFICATEPOLICIES; 305typedef STACK_OF(POLICYINFO) CERTIFICATEPOLICIES;
311 306
312DECLARE_STACK_OF(POLICYINFO) 307DECLARE_STACK_OF(POLICYINFO)
313DECLARE_ASN1_SET_OF(POLICYINFO)
314 308
315typedef struct POLICY_MAPPING_st { 309typedef struct POLICY_MAPPING_st {
316 ASN1_OBJECT *issuerDomainPolicy; 310 ASN1_OBJECT *issuerDomainPolicy;