diff options
author | tb <> | 2018-05-19 10:37:02 +0000 |
---|---|---|
committer | tb <> | 2018-05-19 10:37:02 +0000 |
commit | 1e92ef5d4e261f540f7f155e7edf5fe8a68cf59e (patch) | |
tree | 09bff977b3c9b52dbc505b7c8619bb34881b3f0f /src/lib/libcrypto/x509v3/v3_enum.c | |
parent | a3571a6f5858811485a8369d25914a65dac0e7dc (diff) | |
download | openbsd-1e92ef5d4e261f540f7f155e7edf5fe8a68cf59e.tar.gz openbsd-1e92ef5d4e261f540f7f155e7edf5fe8a68cf59e.tar.bz2 openbsd-1e92ef5d4e261f540f7f155e7edf5fe8a68cf59e.zip |
Add a const qualifier to the 'key' argument of i2o_ECPublicKey() and
one to the last argument of each one of i2s_ASN1_OCTET_STRING(),
s2i_ASN1_OCTET_STRING(), i2s_ASN1_INTEGER(), i2s_ASN1_ENUMERATED(),
and i2s_ASN1_ENUMERATED_TABLE().
tested in a bulk build by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_enum.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_enum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_enum.c b/src/lib/libcrypto/x509v3/v3_enum.c index af6cebcee9..2ef3ea3e90 100644 --- a/src/lib/libcrypto/x509v3/v3_enum.c +++ b/src/lib/libcrypto/x509v3/v3_enum.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_enum.c,v 1.12 2016/12/30 15:54:49 jsing Exp $ */ | 1 | /* $OpenBSD: v3_enum.c,v 1.13 2018/05/19 10:37:02 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 | */ |
@@ -93,7 +93,7 @@ const X509V3_EXT_METHOD v3_crl_reason = { | |||
93 | }; | 93 | }; |
94 | 94 | ||
95 | char * | 95 | char * |
96 | i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method, ASN1_ENUMERATED *e) | 96 | i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method, const ASN1_ENUMERATED *e) |
97 | { | 97 | { |
98 | ENUMERATED_NAMES *enam; | 98 | ENUMERATED_NAMES *enam; |
99 | long strval; | 99 | long strval; |