summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/f_string.c
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/asn1/f_string.c
parenta3a0b4105709c1312d55906e5f3ee9b69d4af1d6 (diff)
Constify i2a*
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/asn1/f_string.c')
-rw-r--r--crypto/asn1/f_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/f_string.c b/crypto/asn1/f_string.c
index 0e03139344..b9258bba8b 100644
--- a/crypto/asn1/f_string.c
+++ b/crypto/asn1/f_string.c
@@ -13,7 +13,7 @@
#include <openssl/buffer.h>
#include <openssl/asn1.h>
-int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type)
+int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type)
{
int i, n = 0;
static const char *h = "0123456789ABCDEF";