diff options
author | Job Snijders <job@cvs.openbsd.org> | 2021-09-02 21:29:36 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2021-09-02 21:29:36 +0000 |
commit | d1f1496f103788efb073830fc3a1c855d135e109 (patch) | |
tree | c28517d0b80a82252d36561a42f3ca7cf1747b43 /lib | |
parent | 11a5e44a14435759f6526bb25369cb6e7a71a8e6 (diff) |
Repair unrolling of static ASN1_ITEM IPAddrBlocks_it
The conversion tool didn't handle 'static_ASN1_ITEM_TEMPLATE_END'
OK tb@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/x509/x509_addr.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libcrypto/x509/x509_addr.c b/lib/libcrypto/x509/x509_addr.c index 95f179174d2..d23981b0334 100644 --- a/lib/libcrypto/x509/x509_addr.c +++ b/lib/libcrypto/x509/x509_addr.c @@ -147,6 +147,17 @@ static const ASN1_TEMPLATE IPAddrBlocks_item_tt = { .item = &IPAddressFamily_it, }; +/* XXX: maybe special? */ +static const ASN1_ITEM IPAddrBlocks_it = { + .itype = ASN1_ITYPE_PRIMITIVE, + .utype = -1, + .templates = &IPAddrBlocks_item_tt, + .tcount = 0, + .funcs = NULL, + .size = 0, + .sname = "IPAddrBlocks", +}; + IPAddressRange * d2i_IPAddressRange(IPAddressRange **a, const unsigned char **in, long len) { |