sk_value was also suffering from de-const-ification.
Also, add in a couple of missing declarations in pkcs7 code.
This commit is contained in:
@@ -285,7 +285,7 @@ int sk_num(const STACK *st)
|
||||
return st->num;
|
||||
}
|
||||
|
||||
char *sk_value(STACK *st, int i)
|
||||
char *sk_value(const STACK *st, int i)
|
||||
{
|
||||
if(st == NULL) return NULL;
|
||||
return st->data[i];
|
||||
|
Reference in New Issue
Block a user