diff options
| author | tb <> | 2026-09-02 07:01:54 +0000 |
|---|---|---|
| committer | tb <> | 2026-09-02 07:01:54 +0000 |
| commit | 08df5d1bf00257e8cf066d2045cf24ecf2744efb (patch) | |
| tree | 3a2dbc7c11d8b9f8246b9a96e33d26c8c669927c | |
| parent | d7e025abe38deee6734fb78736db19f15973b21c (diff) | |
| download | openbsd-08df5d1bf00257e8cf066d2045cf24ecf2744efb.tar.gz openbsd-08df5d1bf00257e8cf066d2045cf24ecf2744efb.tar.bz2 openbsd-08df5d1bf00257e8cf066d2045cf24ecf2744efb.zip | |
a_type: add XXX to consider adding an internal ASN1_TYPE_set0()
ok kenjiro
| -rw-r--r-- | src/lib/libcrypto/asn1/a_type.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/a_type.c b/src/lib/libcrypto/asn1/a_type.c index 0615de1ccb..3f9157de4a 100644 --- a/src/lib/libcrypto/asn1/a_type.c +++ b/src/lib/libcrypto/asn1/a_type.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: a_type.c,v 1.29 2025/12/05 14:19:27 tb Exp $ */ | 1 | /* $OpenBSD: a_type.c,v 1.30 2026/09/02 07:01:54 tb 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 | * |
| @@ -119,6 +119,7 @@ ASN1_TYPE_get(const ASN1_TYPE *a) | |||
| 119 | } | 119 | } |
| 120 | LCRYPTO_ALIAS(ASN1_TYPE_get); | 120 | LCRYPTO_ALIAS(ASN1_TYPE_get); |
| 121 | 121 | ||
| 122 | /* XXX - add ASN1_TYPE_set0() for internal use? */ | ||
| 122 | void | 123 | void |
| 123 | ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) | 124 | ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) |
| 124 | { | 125 | { |
