First NTS code
Hal Murray
hmurray at megapathdsl.net
Mon Jan 28 12:34:40 UTC 2019
esr at thyrsus.com said:
>> Do we want to store cookies and passwords and such in a fixed max-size
array
>> or as heap allocated blobs? In any case, we need to remember the lengths.
> Depends - if they're textual we can assume a '\0' sentinel. I'd prefer to do
> that if possible, it would minimize the amount of data items to manage and
> thus potential defects.
They are mostly binary blobs: cookies, keys, nonces, ...
It might be worth packaging blob and length into a struct.
--
These are my opinions. I hate spam.
More information about the devel
mailing list