diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1_old_lib.c')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_old_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_old_lib.c b/src/lib/libcrypto/asn1/asn1_old_lib.c index f19cb1ca22..80362ae689 100644 --- a/src/lib/libcrypto/asn1/asn1_old_lib.c +++ b/src/lib/libcrypto/asn1/asn1_old_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_old_lib.c,v 1.5 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: asn1_old_lib.c,v 1.6 2023/07/05 21:23:36 beck 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 | * |
@@ -118,6 +118,7 @@ ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, | |||
118 | 118 | ||
119 | return ret; | 119 | return ret; |
120 | } | 120 | } |
121 | LCRYPTO_ALIAS(ASN1_get_object); | ||
121 | 122 | ||
122 | /* class 0 is constructed | 123 | /* class 0 is constructed |
123 | * constructed == 2 for indefinite length constructed */ | 124 | * constructed == 2 for indefinite length constructed */ |
@@ -151,6 +152,7 @@ ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, | |||
151 | asn1_put_length(&p, length); | 152 | asn1_put_length(&p, length); |
152 | *pp = p; | 153 | *pp = p; |
153 | } | 154 | } |
155 | LCRYPTO_ALIAS(ASN1_put_object); | ||
154 | 156 | ||
155 | int | 157 | int |
156 | ASN1_put_eoc(unsigned char **pp) | 158 | ASN1_put_eoc(unsigned char **pp) |
@@ -162,6 +164,7 @@ ASN1_put_eoc(unsigned char **pp) | |||
162 | *pp = p; | 164 | *pp = p; |
163 | return 2; | 165 | return 2; |
164 | } | 166 | } |
167 | LCRYPTO_ALIAS(ASN1_put_eoc); | ||
165 | 168 | ||
166 | static void | 169 | static void |
167 | asn1_put_length(unsigned char **pp, int length) | 170 | asn1_put_length(unsigned char **pp, int length) |
@@ -210,3 +213,4 @@ ASN1_object_size(int constructed, int length, int tag) | |||
210 | } | 213 | } |
211 | return (ret); | 214 | return (ret); |
212 | } | 215 | } |
216 | LCRYPTO_ALIAS(ASN1_object_size); | ||