<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bio/bss_dgram.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2018-05-12T17:47:53+00:00</updated>
<entry>
<title>Add const qualifiers to the return values of BIO_s_mem() and</title>
<updated>2018-05-12T17:47:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-05-12T17:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=31d743443e7e064d16f4ba3a739b7c5a6b6361f0'/>
<id>urn:sha1:31d743443e7e064d16f4ba3a739b7c5a6b6361f0</id>
<content type='text'>
BIO_s_datagram().

ok jsing
</content>
</entry>
<entry>
<title>Correct #if/else logic in BIO's dgram_ctrl.</title>
<updated>2015-07-20T23:15:28+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-07-20T23:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aa53e4f026125a45505a1c6b03873d7676bd2fcb'/>
<id>urn:sha1:aa53e4f026125a45505a1c6b03873d7676bd2fcb</id>
<content type='text'>
Coverity issue 72741 noticed that ret is being overwritten before use.
The actual issue is that the #if/else logic is guarding the wrong
lines.  Besides impacting ret, this also made the case's break logic
wrong because it was in the wrong location.

ok bcook@ beck@
</content>
</entry>
<entry>
<title>Jettison SCTP support in BIO dgram.</title>
<updated>2015-02-09T10:55:33+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-09T10:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9e99e3c7210b10eacf8cf3b559238c15b31f6438'/>
<id>urn:sha1:9e99e3c7210b10eacf8cf3b559238c15b31f6438</id>
<content type='text'>
OpenBSD does not have SCTP support and it sees little use in the wild.
OPENSSL_NO_SCTP is already specified via opensslfeatures.h, hence this
is a code removal only and symbols should remain unchanged.

ok beck@ miod@ tedu@
</content>
</entry>
<entry>
<title>Fix a memory leak in bss_dgram.</title>
<updated>2015-01-12T02:15:23+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-01-12T02:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=96638f9d72621d2898d50d3cdb83ab1ac716b3b6'/>
<id>urn:sha1:96638f9d72621d2898d50d3cdb83ab1ac716b3b6</id>
<content type='text'>
Free data-&gt;saved_message.data.  Based on OpenSSL commit:
41cd41c4416f545a18ead37e09e437c75fa07c95 except this version sets a-&gt;ptr
to NULL to avoid accidental reuse and handles malloc failing.

ok beck@, input + ok miod@
</content>
</entry>
<entry>
<title>Fix incorrect OPENSSL_assert() usage.</title>
<updated>2015-01-03T18:07:29+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-01-03T18:07:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e6a61956e539a81a140db172e1a22774d3ff7077'/>
<id>urn:sha1:e6a61956e539a81a140db172e1a22774d3ff7077</id>
<content type='text'>
Instead of asserting, return an error code for I/O errors.  This is based
on OpenSSL commit 2521fcd8527008ceb3e4748f95b0ed4e2d70cfef.  Added checks
for two calloc()s while I'm here.

ok miod@
</content>
</entry>
<entry>
<title>remove superflous gettimeofday wrapper.</title>
<updated>2014-11-26T05:41:44+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-11-26T05:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=55d80a958d30d205c03e1b28a8d9e28eb269f472'/>
<id>urn:sha1:55d80a958d30d205c03e1b28a8d9e28eb269f472</id>
<content type='text'>
ok beck@ tedu@ miod@ guenther@ doug@ deraadt@
</content>
</entry>
<entry>
<title>memset like a normal human.</title>
<updated>2014-11-26T05:39:06+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-11-26T05:39:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=40f2ea8f2105a403b6b41914e7989498ef396fa4'/>
<id>urn:sha1:40f2ea8f2105a403b6b41914e7989498ef396fa4</id>
<content type='text'>
ok beck@ tedu@ miod@
</content>
</entry>
<entry>
<title>normalize set/getsockopt usage.</title>
<updated>2014-11-26T05:37:26+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-11-26T05:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=08cb5a5c87ab0fa71b2159d65417cfc7c2213ee2'/>
<id>urn:sha1:08cb5a5c87ab0fa71b2159d65417cfc7c2213ee2</id>
<content type='text'>
Remove the remaining random casts on optval. Fixups for this can be handled by
the portability layer all in once place.

Remove remaining fake socklen_t unions, though beck@ points out that this also
removes support for socklen_t changing its length at runtime. RIP.

ok tedu@ beck@ miod@ deraadt@
</content>
</entry>
<entry>
<title>Linux has had IP_MTU since 2005, don't force it.</title>
<updated>2014-11-26T05:01:47+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-11-26T05:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0cbd89ae146a2a04009a43dcf0b4e1c7fd1e32ba'/>
<id>urn:sha1:0cbd89ae146a2a04009a43dcf0b4e1c7fd1e32ba</id>
<content type='text'>
ok beck@ miod@ tedu@ deraadt@
</content>
</entry>
<entry>
<title>Include &lt;sys/time.h&gt; to get struct timeval</title>
<updated>2014-08-24T16:08:30+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-08-24T16:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=192855a39ecdd30f74a9bd2376cc9c469e136cd0'/>
<id>urn:sha1:192855a39ecdd30f74a9bd2376cc9c469e136cd0</id>
<content type='text'>
The crypto/bio/bss_dgram.c file assumes that another file indirectly
includes &lt;stdlib.h&gt; that includes &lt;sys/time.h&gt;.

from Jonas 'Sortie' Termansen

ok deraadt@ tedu@
</content>
</entry>
</feed>
