diff options
author | tb <> | 2018-04-25 11:48:21 +0000 |
---|---|---|
committer | tb <> | 2018-04-25 11:48:21 +0000 |
commit | b32b7334e82988558a84760f424f8dd93d902393 (patch) | |
tree | 2706fdfa25b0fa2dc71fc06b437d687057013dcc /src/lib/libcrypto/asn1/asn_pack.c | |
parent | 2225014e9e21b521735cd7db7cea4d899863d67b (diff) | |
download | openbsd-b32b7334e82988558a84760f424f8dd93d902393.tar.gz openbsd-b32b7334e82988558a84760f424f8dd93d902393.tar.bz2 openbsd-b32b7334e82988558a84760f424f8dd93d902393.zip |
Add const to functions in asn1/asn1.h as they did in OpenSSL.
BIO_f_asn1() will be taken care of later.
Tested in a bulk by sthen
ok bcook jca jsing
Diffstat (limited to 'src/lib/libcrypto/asn1/asn_pack.c')
-rw-r--r-- | src/lib/libcrypto/asn1/asn_pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/asn_pack.c b/src/lib/libcrypto/asn1/asn_pack.c index 09d150583a..1a5420e42b 100644 --- a/src/lib/libcrypto/asn1/asn_pack.c +++ b/src/lib/libcrypto/asn1/asn_pack.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn_pack.c,v 1.16 2017/01/29 17:49:22 beck Exp $ */ | 1 | /* $OpenBSD: asn_pack.c,v 1.17 2018/04/25 11:48:21 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -203,7 +203,7 @@ err: | |||
203 | /* Extract an ASN1 object from an ASN1_STRING */ | 203 | /* Extract an ASN1 object from an ASN1_STRING */ |
204 | 204 | ||
205 | void * | 205 | void * |
206 | ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it) | 206 | ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it) |
207 | { | 207 | { |
208 | const unsigned char *p; | 208 | const unsigned char *p; |
209 | void *ret; | 209 | void *ret; |