@@ -129,7 +129,7 @@ int GRSTasn1SearchTaglist(struct GRSTasn1TagList taglist[],
129
129
return -1 ;
130
130
}
131
131
132
- static int GRSTasn1PrintPrintable (BIO * bp , char * str , int length )
132
+ static int GRSTasn1PrintPrintable (BIO * bp , const unsigned char * str , int length )
133
133
{
134
134
int ret = 0 ;
135
135
char * dup , * p ;
@@ -145,14 +145,14 @@ static int GRSTasn1PrintPrintable(BIO *bp, char *str, int length)
145
145
return ret ;
146
146
}
147
147
148
- static int GRSTasn1Parse2 (BIO * bp , unsigned char * * pp , long length , int offset ,
148
+ static int GRSTasn1Parse2 (BIO * bp , const unsigned char * * pp , long length , int offset ,
149
149
int depth , int indent , int dump , char * treecoords ,
150
150
struct GRSTasn1TagList taglist [], int maxtag , int * lasttag )
151
151
{
152
152
int sibling = 0 ;
153
153
char sibtreecoords [512 ];
154
154
155
- unsigned char * p ,* ep ,* tot ,* op ,* opp ;
155
+ const unsigned char * p ,* ep ,* tot ,* op ,* opp ;
156
156
long len ;
157
157
int tag ,xclass ,ret = 0 ;
158
158
int nl ,hl ,j ,r ;
@@ -454,7 +454,7 @@ static int GRSTasn1Parse2(BIO *bp, unsigned char **pp, long length, int offset,
454
454
return (ret );
455
455
}
456
456
457
- int GRSTasn1ParseDump (BIO * bp , unsigned char * pp , long len ,
457
+ int GRSTasn1ParseDump (BIO * bp , const unsigned char * pp , long len ,
458
458
struct GRSTasn1TagList taglist [],
459
459
int maxtag , int * lasttag )
460
460
{
0 commit comments