<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/x509v3, branch libressl-v2.9.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.9.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-03-13T20:34:00+00:00</updated>
<entry>
<title>Fix a number of ASN1_INTEGER vs ASN1_STRING mixups coming from the</title>
<updated>2019-03-13T20:34:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-03-13T20:34:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5ac8b80c66d7d9f6dab1bfdf23f0578eb05dffa0'/>
<id>urn:sha1:5ac8b80c66d7d9f6dab1bfdf23f0578eb05dffa0</id>
<content type='text'>
mechanical M_ASN1 macro expansion.  The ASN1_INTEGER_cmp function
takes signs into account while ASN1_STRING_cmp doesn't. The mixups
mostly involve serialNumbers, which, in principle, should be positive.
However, it is unclear whether that is checked or enforced anywhere
in the code, so these are probably bugs.

Patch from Holger Mikolon
ok jsing
</content>
</entry>
<entry>
<title>Add a const qualifier to the aint argument of X509V3_add_value_int()</title>
<updated>2018-05-19T10:50:08+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-19T10:50:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9da339c3d57f404b00a27baa583df279073bdb1f'/>
<id>urn:sha1:9da339c3d57f404b00a27baa583df279073bdb1f</id>
<content type='text'>
Tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add a const qualifier to the STACK_OF(X509_EXTENSION) * arguments of</title>
<updated>2018-05-19T10:41:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-19T10:41:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=95f086da4b90ddd2f5819b788f4ede851c704f19'/>
<id>urn:sha1:95f086da4b90ddd2f5819b788f4ede851c704f19</id>
<content type='text'>
X509V3_get_d2i() and X509V3_extensions_print(), and one to the 'title'
argument of the latter function.

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add a const qualifier to the 'key' argument of i2o_ECPublicKey() and</title>
<updated>2018-05-19T10:37:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-19T10:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ebcd9413cf5a196f715422cc604ef2765ab8ecc2'/>
<id>urn:sha1:ebcd9413cf5a196f715422cc604ef2765ab8ecc2</id>
<content type='text'>
one to the last argument of each one of i2s_ASN1_OCTET_STRING(),
s2i_ASN1_OCTET_STRING(), i2s_ASN1_INTEGER(), i2s_ASN1_ENUMERATED(),
and i2s_ASN1_ENUMERATED_TABLE().

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>The 'name', 'value' and 'section' arguments for a2i_GENERAL_NAME(),</title>
<updated>2018-05-18T19:34:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-18T19:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7ee7ac4092a33201af1ca59a68f151926c3bef0c'/>
<id>urn:sha1:7ee7ac4092a33201af1ca59a68f151926c3bef0c</id>
<content type='text'>
X509V3_get_value_bool(), X509V3_add_value_bool_nf(),
X509V3_get_value_int(), X509V3_get_string(), X509V3_get_section()
are now const.

While there, remove a stupid cast and two redundant checks.

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add const qualifiers to the 'name', 'sname' and 'X509_PURPOSE *'</title>
<updated>2018-05-18T18:30:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-18T18:30:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2c0fed57d798deeb5b436a401bcfe6524db1ddf7'/>
<id>urn:sha1:2c0fed57d798deeb5b436a401bcfe6524db1ddf7</id>
<content type='text'>
arguments of X509_PURPOSE_add(3), X509_PURPOSE_get0_name(3),
X509_PURPOSE_get0_sname(3), X509_PURPOSE_get_by_sname(3),
X509_PURPOSE_get_id(3), X509_PURPOSE_get_trust(3).

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add const to the 'name', 'value', and 'section' arguments of</title>
<updated>2018-05-13T17:49:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-13T17:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f72b4f9ef582d7e3ded8503b342adeef693decc3'/>
<id>urn:sha1:f72b4f9ef582d7e3ded8503b342adeef693decc3</id>
<content type='text'>
X509V3_EXT_{,n}conf_nid(3), X509_EXT_{,n}conf(3)
X509V3{,_CRL,_REQ}_add_{,n}conf(3) as well as the get_string()
and get_section() members of X509_CONF_METHOD_st.

tested in a bulk build by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add const qualifiers to the char *zone and char *user arguments of</title>
<updated>2018-05-13T15:03:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-13T15:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=39efd5965e02c9df8a7aa2475a6e34770ce8c141'/>
<id>urn:sha1:39efd5965e02c9df8a7aa2475a6e34770ce8c141</id>
<content type='text'>
SXNET_add_id_INTEGER(3), SXNET_add_id_asc(3), SXNET_add_id_ulong(3)

tested in a bulk by sthen
ok jsing
</content>
</entry>
<entry>
<title>Add const to functions in asn1/asn1.h as they did in OpenSSL.</title>
<updated>2018-04-25T11:48:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-04-25T11:48:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8092d4e5908838632c7363f83d8b8f13fd30cfaf'/>
<id>urn:sha1:8092d4e5908838632c7363f83d8b8f13fd30cfaf</id>
<content type='text'>
BIO_f_asn1() will be taken care of later.

Tested in a bulk by sthen
ok bcook jca jsing
</content>
</entry>
<entry>
<title>If X509_check_{host,email}() are called with a length of zero, use strlen()</title>
<updated>2018-03-20T16:16:59+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-03-20T16:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=091cc449717c52ff56957df92ae8739f6ede3d80'/>
<id>urn:sha1:091cc449717c52ff56957df92ae8739f6ede3d80</id>
<content type='text'>
to determine the length. This is the documented behaviour and matches the
OpenSSL implementation.

Issue found by Michael Gmelin &lt;freebsd at grem dot de&gt;.

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