diff options
author | tb <> | 2022-01-14 08:09:18 +0000 |
---|---|---|
committer | tb <> | 2022-01-14 08:09:18 +0000 |
commit | 5d4d6a909f8b3bd3525af1b1ae9d89f9cb5dd883 (patch) | |
tree | cb89d987321951007fe55b30234d64a881628280 /src/lib/libcrypto/ossl_typ.h | |
parent | 0ed71e7fb768c8004e3f4c0bbf0e0d05f959fc28 (diff) | |
download | openbsd-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 '')
-rw-r--r-- | src/lib/libcrypto/ossl_typ.h | 4 |
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; | |||
77 | typedef int ASN1_BOOLEAN; | 77 | typedef int ASN1_BOOLEAN; |
78 | typedef int ASN1_NULL; | 78 | typedef int ASN1_NULL; |
79 | 79 | ||
80 | typedef struct asn1_object_st ASN1_OBJECT; | ||
81 | |||
80 | typedef struct ASN1_ITEM_st ASN1_ITEM; | 82 | typedef struct ASN1_ITEM_st ASN1_ITEM; |
81 | typedef struct asn1_pctx_st ASN1_PCTX; | 83 | typedef struct asn1_pctx_st ASN1_PCTX; |
82 | 84 | ||