<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/asn1, branch OPENBSD_7_2_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-09-11T17:22:52+00:00</updated>
<entry>
<title>Remove c2i_* and i2c_* from public visibility</title>
<updated>2022-09-11T17:22:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-11T17:22:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=99e5fa5e76aa13416d576f1ffb36ea8b34583104'/>
<id>urn:sha1:99e5fa5e76aa13416d576f1ffb36ea8b34583104</id>
<content type='text'>
This removes c2i_ASN1_OBJECT(), {c2i,i2c}_ASN1_BIT_STRING() and
{c2i,i2c}_ASN1_INTEGER(). These are not part of the OpenSSL 1.1
API and should never have been exposed in the first place.

ok jsing
</content>
</entry>
<entry>
<title>Rewrap some lines, no functional change.</title>
<updated>2022-09-03T19:15:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T19:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=342f427b1a6d58fc14c600c8637aa4c596c5cbc6'/>
<id>urn:sha1:342f427b1a6d58fc14c600c8637aa4c596c5cbc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up asn1_c2i_primitive() slightly.</title>
<updated>2022-09-03T19:14:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T19:14:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8cad336dab4df4333789129c2f4bb10474fcca45'/>
<id>urn:sha1:8cad336dab4df4333789129c2f4bb10474fcca45</id>
<content type='text'>
Rename some variables and consistently goto error.

ok tb@
</content>
</entry>
<entry>
<title>Avoid recycling ASN1_STRINGs when decoding ASN.1.</title>
<updated>2022-09-03T19:11:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T19:11:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a635ecd2ba59779557af0f37be073d44b86f2437'/>
<id>urn:sha1:a635ecd2ba59779557af0f37be073d44b86f2437</id>
<content type='text'>
Rather than recycling an existing ASN1_STRING and changing its type, free
it and allocate a replacement. This simplifies the code and potentially
avoids bugs resulting from reuse.

ok tb@
</content>
</entry>
<entry>
<title>Remove duplicate prototype that just snuck in.</title>
<updated>2022-09-03T18:59:09+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T18:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5e6b98a5d9de6bb26247e74f5ff1b808b632f8a0'/>
<id>urn:sha1:5e6b98a5d9de6bb26247e74f5ff1b808b632f8a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure ASN.1 types are appropriately encoded.</title>
<updated>2022-09-03T18:52:18+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T18:52:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b283f6131f8170e90b456bc531cde0fdfc878eec'/>
<id>urn:sha1:b283f6131f8170e90b456bc531cde0fdfc878eec</id>
<content type='text'>
Per X.690, some ASN.1 types must be primitive encoded, some must be
constructed and some may be either. Add this data to our types table
and check the encoding against this information when decoding.

ok tb@
</content>
</entry>
<entry>
<title>Provide c2i_ASN1_ENUMERATED_cbs() and call it from asn1_c2i_primitive().</title>
<updated>2022-09-03T18:45:51+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T18:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fb18e75fc234776f661aad4dd12a912ff1f62763'/>
<id>urn:sha1:fb18e75fc234776f661aad4dd12a912ff1f62763</id>
<content type='text'>
This avoids asn1_c2i_primitive() from needing knowledge about the internals
of ASN1_INTEGER and ASN1_ENUMERATED.

ok tb@
</content>
</entry>
<entry>
<title>Stop using CBIGNUM_it internal to libcrypto.</title>
<updated>2022-09-03T16:01:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-03T16:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2b62b98b944c0df9fbd9e41e33ea96b45b98e84b'/>
<id>urn:sha1:2b62b98b944c0df9fbd9e41e33ea96b45b98e84b</id>
<content type='text'>
CBIGNUM_it is supposed to be the "clear bignum" or "secure" bignum - that
is one which zeros its memory after use and ensures that the constant time
flags are set... in LibreSSL we always do both of these things for BIGNUMs,
so just use BIGNUM_it instead.

ok tb@
</content>
</entry>
<entry>
<title>Plug memory leak in X509_REQ_print_ex()</title>
<updated>2022-08-30T08:45:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-30T08:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bc8ac59b78f59476b8997f492a28783b7724db15'/>
<id>urn:sha1:bc8ac59b78f59476b8997f492a28783b7724db15</id>
<content type='text'>
CID 356353

ok jsing
</content>
</entry>
<entry>
<title>Provide ASN1_R_TYPE_NOT_PRIMITIVE.</title>
<updated>2022-08-29T06:48:58+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-08-29T06:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7597b22fcc2f351d94675f5d378d770c786c3155'/>
<id>urn:sha1:7597b22fcc2f351d94675f5d378d770c786c3155</id>
<content type='text'>
Needed for an upcoming change.

ok tb@
</content>
</entry>
</feed>
