summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_prn.c
diff options
context:
space:
mode:
authorJustin Blanchard <uncombedcoconut@gmail.com>2014-08-18 11:01:15 -0400
committerRich Salz <rsalz@akamai.com>2014-08-18 11:49:16 -0400
commitf756fb430eb8f5f70696f174460eb90740b318f7 (patch)
treece3c86c0c6717e30193a3ba15d176e390d322707 /crypto/asn1/tasn_prn.c
parentdefe438d472bbef4d2bc5e4893560bc4eae43760 (diff)
RT1815: More const'ness improvements
Add a dozen more const declarations where appropriate. These are from Justin; while adding his patch, I noticed ASN1_BIT_STRING_check could be fixed, too. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/asn1/tasn_prn.c')
-rw-r--r--crypto/asn1/tasn_prn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/tasn_prn.c b/crypto/asn1/tasn_prn.c
index 542a091a66..424d395aa4 100644
--- a/crypto/asn1/tasn_prn.c
+++ b/crypto/asn1/tasn_prn.c
@@ -401,8 +401,8 @@ static int asn1_print_fsname(BIO *out, int indent,
const char *fname, const char *sname,
const ASN1_PCTX *pctx)
{
- static char spaces[] = " ";
- const int nspaces = sizeof(spaces) - 1;
+ static const char spaces[] = " ";
+ static const int nspaces = sizeof(spaces) - 1;
#if 0
if (!sname && !fname)