summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/evp_asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/evp_asn1.c')
-rw-r--r--src/lib/libcrypto/asn1/evp_asn1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/asn1/evp_asn1.c b/src/lib/libcrypto/asn1/evp_asn1.c
index 5f74da1546..ec63557770 100644
--- a/src/lib/libcrypto/asn1/evp_asn1.c
+++ b/src/lib/libcrypto/asn1/evp_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_asn1.c,v 1.20 2017/11/28 16:51:21 jsing Exp $ */ 1/* $OpenBSD: evp_asn1.c,v 1.21 2018/04/25 11:48:21 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 *
@@ -79,7 +79,7 @@ ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len)
79} 79}
80 80
81int 81int
82ASN1_TYPE_get_octetstring(ASN1_TYPE *a, unsigned char *data, int max_len) 82ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len)
83{ 83{
84 int ret, num; 84 int ret, num;
85 unsigned char *p; 85 unsigned char *p;
@@ -162,7 +162,7 @@ ASN1_TYPE_set_int_octetstring(ASN1_TYPE *at, long num, unsigned char *data,
162} 162}
163 163
164int 164int
165ASN1_TYPE_get_int_octetstring(ASN1_TYPE *at, long *num, unsigned char *data, 165ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *at, long *num, unsigned char *data,
166 int max_len) 166 int max_len)
167{ 167{
168 ASN1_STRING *sp = at->value.sequence; 168 ASN1_STRING *sp = at->value.sequence;