summaryrefslogtreecommitdiff
path: root/src/usr.bin
diff options
context:
space:
mode:
authorjsing <>2021-12-13 17:50:24 +0000
committerjsing <>2021-12-13 17:50:24 +0000
commit82dc0f2cd4b771d4c9919257ba0bbf552353ba8c (patch)
treee252c1cc65d0d8d05a5d8c1375cfde2a278f11ea /src/usr.bin
parenta8de9c3426a243a7fe6c43129d0580880e306298 (diff)
downloadopenbsd-82dc0f2cd4b771d4c9919257ba0bbf552353ba8c.tar.gz
openbsd-82dc0f2cd4b771d4c9919257ba0bbf552353ba8c.tar.bz2
openbsd-82dc0f2cd4b771d4c9919257ba0bbf552353ba8c.zip
Convert asn1_d2i_ex_primitive()/asn1_collect() from BUF_MEM to CBB.
With this we get simpler code, overflow checking and more sensible memory ownership. Also switch the free_cont case to freezero() since this could contain secrets. ok inoguchi@ tb@
Diffstat (limited to 'src/usr.bin')
0 files changed, 0 insertions, 0 deletions