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_info.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_info.c')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_info.c b/src/lib/libcrypto/x509v3/v3_info.c index 27b5415b2a..ebacbf5b0a 100644 --- a/src/lib/libcrypto/x509v3/v3_info.c +++ b/src/lib/libcrypto/x509v3/v3_info.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_info.c,v 1.25 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: v3_info.c,v 1.26 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 | */ |
@@ -293,7 +293,7 @@ err: | |||
293 | } | 293 | } |
294 | 294 | ||
295 | int | 295 | int |
296 | i2a_ACCESS_DESCRIPTION(BIO *bp, ACCESS_DESCRIPTION* a) | 296 | i2a_ACCESS_DESCRIPTION(BIO *bp, const ACCESS_DESCRIPTION* a) |
297 | { | 297 | { |
298 | i2a_ASN1_OBJECT(bp, a->method); | 298 | i2a_ASN1_OBJECT(bp, a->method); |
299 | return 2; | 299 | return 2; |