From: tb Date: Sat, 23 Oct 2021 17:43:06 +0000 (+0000) Subject: Declare STACK_OF(GENERAL_NAMES) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=28115db1385c00b5d3e40a3f763ed7452e76770b;p=openbsd Declare STACK_OF(GENERAL_NAMES) ok jsing --- diff --git a/lib/libcrypto/x509/x509v3.h b/lib/libcrypto/x509/x509v3.h index b9fe1ca4b04..62ed038d332 100644 --- a/lib/libcrypto/x509/x509v3.h +++ b/lib/libcrypto/x509/x509v3.h @@ -1,4 +1,4 @@ -/* $OpenBSD: x509v3.h,v 1.8 2021/10/23 11:53:24 tb Exp $ */ +/* $OpenBSD: x509v3.h,v 1.9 2021/10/23 17:43:06 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -206,8 +206,6 @@ union { } d; } GENERAL_NAME; -typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES; - typedef struct ACCESS_DESCRIPTION_st { ASN1_OBJECT *method; GENERAL_NAME *location; @@ -219,6 +217,9 @@ typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE; DECLARE_STACK_OF(GENERAL_NAME) +typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES; +DECLARE_STACK_OF(GENERAL_NAMES) + DECLARE_STACK_OF(ACCESS_DESCRIPTION) typedef struct DIST_POINT_NAME_st {