diff options
| author | tb <> | 2018-04-25 11:48:21 +0000 |
|---|---|---|
| committer | tb <> | 2018-04-25 11:48:21 +0000 |
| commit | 8092d4e5908838632c7363f83d8b8f13fd30cfaf (patch) | |
| tree | 2706fdfa25b0fa2dc71fc06b437d687057013dcc /src/lib/libcrypto/asn1/f_string.c | |
| parent | 84c943ca0b3c30b47e6f704f3348268b374693f6 (diff) | |
| download | openbsd-8092d4e5908838632c7363f83d8b8f13fd30cfaf.tar.gz openbsd-8092d4e5908838632c7363f83d8b8f13fd30cfaf.tar.bz2 openbsd-8092d4e5908838632c7363f83d8b8f13fd30cfaf.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/f_string.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/f_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/f_string.c b/src/lib/libcrypto/asn1/f_string.c index 138044e063..af17f43e1d 100644 --- a/src/lib/libcrypto/asn1/f_string.c +++ b/src/lib/libcrypto/asn1/f_string.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: f_string.c,v 1.17 2017/01/29 17:49:22 beck Exp $ */ | 1 | /* $OpenBSD: f_string.c,v 1.18 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 | * |
| @@ -63,7 +63,7 @@ | |||
| 63 | #include <openssl/err.h> | 63 | #include <openssl/err.h> |
| 64 | 64 | ||
| 65 | int | 65 | int |
| 66 | i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) | 66 | i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type) |
| 67 | { | 67 | { |
| 68 | int i, n = 0; | 68 | int i, n = 0; |
| 69 | static const char h[] = "0123456789ABCDEF"; | 69 | static const char h[] = "0123456789ABCDEF"; |
