Several places in the code where there are compiler warnings due to lack of const. e.g.
unsigned char const * p = octets->data;
Maybe the author doesn't know the trick of writing C consts. Read the C code right to left like this:
char const * const * const xxx;
You read this right to left to say "xxx is a constant pointer to a constant pointer to constant chars. Remember this trick, and you won't get confused with consts.
Several places in the code where there are compiler warnings due to lack of const. e.g.
Maybe the author doesn't know the trick of writing C consts. Read the C code right to left like this:
char const * const * const xxx;
You read this right to left to say "xxx is a constant pointer to a constant pointer to constant chars. Remember this trick, and you won't get confused with consts.