Revert "asn1: use roken for generated source files"
commit92e5a4b7e56f52bd803081b7dc3d7f23b19b7a91
authorNicolas Williams <nico@twosigma.com>
Tue, 23 Nov 2021 23:59:17 +0000 (23 17:59 -0600)
committerNicolas Williams <nico@twosigma.com>
Wed, 24 Nov 2021 00:12:45 +0000 (23 18:12 -0600)
tree739f279613d4c7c081a6260a0d7951c87dfee5a4
parent6cfbde4d8632e36b2192115f47d9cbfc367c52ef
Revert "asn1: use roken for generated source files"

This reverts commit e27e056b45ff1be8a25a8d810c69fbbe904f70d2.

e27e056b45ff1be8a25a8d810c69fbbe904f70d2 was needed mainly for ENOTSUP.
ENOTSUP is not available in older C run-times.

Also, lib/roken has wrappers for the CRT allocator, but we don't need
those in lib/asn1 because all the functions generated by the compiler
effectively encapsulate the corresponding DLL's CRT's allocator.

This will be followed by a change to not use ENOTSUP.
lib/asn1/gen.c