summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-18 16:48:33 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-18 17:20:36 +0100
commit095d2f0f8a11f8785eb8451dd8eeee60bebece20 (patch)
treee2088640247b60e2fedc0a0688fa3a3b1de4a287 /crypto/x509v3
parenta3a0b4105709c1312d55906e5f3ee9b69d4af1d6 (diff)
Constify i2a*
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/v3_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_info.c b/crypto/x509v3/v3_info.c
index bec8c425b0..61ef2138b7 100644
--- a/crypto/x509v3/v3_info.c
+++ b/crypto/x509v3/v3_info.c
@@ -150,7 +150,7 @@ static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD
return NULL;
}
-int i2a_ACCESS_DESCRIPTION(BIO *bp, ACCESS_DESCRIPTION *a)
+int i2a_ACCESS_DESCRIPTION(BIO *bp, const ACCESS_DESCRIPTION *a)
{
i2a_ASN1_OBJECT(bp, a->method);
return 2;