From e778802f53c8d47e96a6e4cbc776eb6e1d4c461a Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 17 Apr 1999 21:25:43 +0000 Subject: Massive constification. --- crypto/asn1/asn1_par.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crypto/asn1/asn1_par.c') diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index bde3a3b2c3..9cddfb497b 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -79,9 +79,10 @@ int xclass; int constructed; int indent; { - static char *fmt="%-18s"; - static char *fmt2="%2d %-15s"; - char *p,str[128],*p2=NULL; + static const char fmt[]="%-18s"; + static const char fmt2[]="%2d %-15s"; + char str[128]; + const char *p,*p2=NULL; if (constructed & V_ASN1_CONSTRUCTED) p="cons: "; -- cgit v1.2.3