<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/s_socket.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>2019-06-28T13:35:02+00:00</updated>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:35:02+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-28T13:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=835d788017c49be8b4986b0f04686da55f2cd0da'/>
<id>urn:sha1:835d788017c49be8b4986b0f04686da55f2cd0da</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>Don't leak a strdup()'ed string on error in do_accept().</title>
<updated>2018-08-19T20:07:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-08-19T20:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a855b40c98811868099b7419205858146204e506'/>
<id>urn:sha1:a855b40c98811868099b7419205858146204e506</id>
<content type='text'>
CID #154702.

input &amp; ok inoguchi, ok mestre on first version
</content>
</entry>
<entry>
<title>Indent labels with a single space so that diff prototypes are more useful.</title>
<updated>2018-02-07T05:47:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-07T05:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d829832b5c1cafa0527a7c2595749b17b0b8efe'/>
<id>urn:sha1:6d829832b5c1cafa0527a7c2595749b17b0b8efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove SOCKET_PROTOCOL, a redundant define that was only used once.</title>
<updated>2015-09-10T02:23:29+00:00</updated>
<author>
<name>lteo</name>
<email></email>
</author>
<published>2015-09-10T02:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3730b0c1d4819104fc57b53320c5a31c69a8c629'/>
<id>urn:sha1:3730b0c1d4819104fc57b53320c5a31c69a8c629</id>
<content type='text'>
No binary change.

ok millert@ miod@
</content>
</entry>
<entry>
<title>Check return value in openssl(1) s_socket.</title>
<updated>2015-07-20T03:22:25+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-07-20T03:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=06914df45236774aeca3d84881da0ab8f1359352'/>
<id>urn:sha1:06914df45236774aeca3d84881da0ab8f1359352</id>
<content type='text'>
Fixes Coverity issue 21655.

ok bcook@
</content>
</entry>
<entry>
<title>Only close descriptor if not already closed.</title>
<updated>2015-07-19T03:28:26+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-07-19T03:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=09a8a5849adba3406d2aeabaa5505f868a159bdb'/>
<id>urn:sha1:09a8a5849adba3406d2aeabaa5505f868a159bdb</id>
<content type='text'>
Fixes coverity 78916.

ok miod@ bcook@
</content>
</entry>
<entry>
<title>fix leak, found by coverity, ID 78877</title>
<updated>2015-07-17T20:22:02+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-07-17T20:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=89d69d600717cb1238452e887f85546f081b84f4'/>
<id>urn:sha1:89d69d600717cb1238452e887f85546f081b84f4</id>
<content type='text'>
ok miod@ jsing@
</content>
</entry>
<entry>
<title>Since Windows needs BIO_sock_init() before you can call any networking</title>
<updated>2015-03-22T10:36:22+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-03-22T10:36:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fa54be820ef893ca1fcf834ef9c634c172ac8349'/>
<id>urn:sha1:fa54be820ef893ca1fcf834ef9c634c172ac8349</id>
<content type='text'>
functions, and ocsp and s_time need networking enabled too, this just moves
BIO_sock_init() up into main() as a catch-all for all of the commands.

Of course, it is a no-op on any other platform.

ok @guenther
</content>
</entry>
<entry>
<title>Move Windows OS-specific functions to make porting easier.</title>
<updated>2014-12-03T22:16:02+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-12-03T22:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=56ba4dfacce3236710ca61edbd40744a424ca728'/>
<id>urn:sha1:56ba4dfacce3236710ca61edbd40744a424ca728</id>
<content type='text'>
Several functions that need to be redefined for a Windows port are right
in the middle of other code that is relatively portable. This patch
isolates the functions that need Windows-specific implementations so
they can be built conditionally in the portable tree.

Add calls to BIO_sock_init() as-needed to openssl(1) so that socket IO works on
Windows. Sorry, these are no-op on other platforms.

ok jsing@ deraadt@
</content>
</entry>
<entry>
<title>ssl_sock_init() does nothing, so remove it...</title>
<updated>2014-11-06T13:46:09+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-11-06T13:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a837024355d7e54a3efc6b3051d3776937321004'/>
<id>urn:sha1:a837024355d7e54a3efc6b3051d3776937321004</id>
<content type='text'>
</content>
</entry>
</feed>
