On Thu, Apr 14, 2016 at 04:57:11PM +0200, Neels Hofmeyr wrote:
So, I want to change this:
static inline void OCTET_STRING_noalloc(OCTET_STRING_t *s, const uint8_t *str, int size)
{
s->buf = str;
s->size = size;
}
because OCTET_STRING_t.s is not const, and must not be const, will never be const.
I meant OCTET_STRING_t.buf, of course.
~Neels