diff options
Diffstat (limited to 'crypto/asn1/asn1_par.c')
-rw-r--r-- | crypto/asn1/asn1_par.c | 7 |
1 files changed, 4 insertions, 3 deletions
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: "; |