summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_config.c
diff options
context:
space:
mode:
authorjsing <>2019-04-01 15:48:04 +0000
committerjsing <>2019-04-01 15:48:04 +0000
commitc668655bd37c10676da50f3d90a2cb88438f14c1 (patch)
treed9cf1a8ad7b62400a812c7d2f90b7402b1f5fc83 /src/lib/libtls/tls_config.c
parente813599f2392d1fd8276b9ca150e48dedce013f8 (diff)
downloadopenbsd-c668655bd37c10676da50f3d90a2cb88438f14c1.tar.gz
openbsd-c668655bd37c10676da50f3d90a2cb88438f14c1.tar.bz2
openbsd-c668655bd37c10676da50f3d90a2cb88438f14c1.zip
Require all ASN1_PRIMITIVE_FUNCS functions to be provided.
If an ASN.1 item provides its own ASN1_PRIMITIVE_FUNCS functions, require all functions to be provided (currently excluding prim_clear). This avoids situations such as having a custom allocator that returns a specific struct but then is then printed using the default primative print functions, which interpret the memory as a different struct. Found by oss-fuzz, fixes issue #13799. ok beck@, tb@
Diffstat (limited to 'src/lib/libtls/tls_config.c')
0 files changed, 0 insertions, 0 deletions