summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ossl_typ.h
diff options
context:
space:
mode:
authortb <>2022-01-14 08:09:18 +0000
committertb <>2022-01-14 08:09:18 +0000
commit5d4d6a909f8b3bd3525af1b1ae9d89f9cb5dd883 (patch)
treecb89d987321951007fe55b30234d64a881628280 /src/lib/libcrypto/ossl_typ.h
parent0ed71e7fb768c8004e3f4c0bbf0e0d05f959fc28 (diff)
downloadopenbsd-5d4d6a909f8b3bd3525af1b1ae9d89f9cb5dd883.tar.gz
openbsd-5d4d6a909f8b3bd3525af1b1ae9d89f9cb5dd883.tar.bz2
openbsd-5d4d6a909f8b3bd3525af1b1ae9d89f9cb5dd883.zip
Remove ASN1_OBJECT internals from public visibility.
Move the struct declaration to asn1_locl.h and add a forward declaration to ossl_typ.h. This makes struct visibility in the asn1 headers match OpenSSL. ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/ossl_typ.h')
-rw-r--r--src/lib/libcrypto/ossl_typ.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ossl_typ.h b/src/lib/libcrypto/ossl_typ.h
index 9a1101d387..c4dd11eab2 100644
--- a/src/lib/libcrypto/ossl_typ.h
+++ b/src/lib/libcrypto/ossl_typ.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ossl_typ.h,v 1.16 2021/12/12 21:35:46 tb Exp $ */ 1/* $OpenBSD: ossl_typ.h,v 1.17 2022/01/14 08:09:18 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -77,6 +77,8 @@ typedef struct asn1_string_st ASN1_STRING;
77typedef int ASN1_BOOLEAN; 77typedef int ASN1_BOOLEAN;
78typedef int ASN1_NULL; 78typedef int ASN1_NULL;
79 79
80typedef struct asn1_object_st ASN1_OBJECT;
81
80typedef struct ASN1_ITEM_st ASN1_ITEM; 82typedef struct ASN1_ITEM_st ASN1_ITEM;
81typedef struct asn1_pctx_st ASN1_PCTX; 83typedef struct asn1_pctx_st ASN1_PCTX;
82 84