<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.bin/openssl/s_time.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-07-14T03:30:46+00:00</updated>
<entry>
<title>Mark the initialized struct options arrays as both static and const.</title>
<updated>2019-07-14T03:30:46+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2019-07-14T03:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce9daaa0080f6ec467441aa485eb3f11ad6fb74a'/>
<id>urn:sha1:ce9daaa0080f6ec467441aa485eb3f11ad6fb74a</id>
<content type='text'>
This moves them from .data to .data.rel.ro

ok deraadt@ inoguchi@
</content>
</entry>
<entry>
<title>snprintf/vsnprintf return &lt; 0 on error, rather than -1.</title>
<updated>2019-07-03T03:24:04+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-07-03T03:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bdd1c0627cbfd4015db19da84ab1a24f50d9f6dc'/>
<id>urn:sha1:bdd1c0627cbfd4015db19da84ab1a24f50d9f6dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move tally mark printing out of the main benchmark loop; ok tb@</title>
<updated>2018-09-17T15:37:35+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-09-17T15:37:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e151a5a4b932becd5053c3b0d892162ddce644a7'/>
<id>urn:sha1:e151a5a4b932becd5053c3b0d892162ddce644a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Drop SSLv2, SSLv3 support.</title>
<updated>2018-08-28T14:30:48+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-28T14:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=77e1ea8bb9aa1cecb177100ea28b91f0c61d7a18'/>
<id>urn:sha1:77e1ea8bb9aa1cecb177100ea28b91f0c61d7a18</id>
<content type='text'>
No need to check for SSLv2/3 sessions when printing the tally mark.
Also do SSLv23_client_method -&gt; TLS_client_method.

ok jsing@
</content>
</entry>
<entry>
<title>Check for SSL_write(3) error.</title>
<updated>2018-08-28T02:14:22+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-28T02:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=47c7a81989b6ae45dcc149174f78c3487c2b3c3f'/>
<id>urn:sha1:47c7a81989b6ae45dcc149174f78c3487c2b3c3f</id>
<content type='text'>
jsing@ notes that this is not a complete solution, as we don't
account for retries or partial writes, but that this is a step
in a right direction.

May want to revisit this later to provide a complete solution.

ok jsing@
</content>
</entry>
<entry>
<title>Use a monotonic clock for the benchmark timeout.</title>
<updated>2018-08-22T20:36:24+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-22T20:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c297504adf8051e25fdb0460d606152be7ced86c'/>
<id>urn:sha1:c297504adf8051e25fdb0460d606152be7ced86c</id>
<content type='text'>
While here, we don't need the app_timer_* wrapper function, it only
obfuscates things, so delete it.  Also while here, totalTime only needs
to be assigned once.

ok tb@
</content>
</entry>
<entry>
<title>Merge duplicate benchmark() GET/SSL_shutdown blocks into doConnection().</title>
<updated>2018-08-21T15:56:39+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-21T15:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=99b3497d8044797c6e3fdd4f8c329dabd2872897'/>
<id>urn:sha1:99b3497d8044797c6e3fdd4f8c329dabd2872897</id>
<content type='text'>
We need to then remove the shadow i from the GET block.  While there,
move retval's declaration to the beginning of the function.

As doConnection() now executes the body of the benchmark's test, rename
it to "run_test".

Shadow variable spotted by tb@.

ok tb@
</content>
</entry>
<entry>
<title>Plug SSL object leaks in doConnection().</title>
<updated>2018-08-18T16:51:33+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-18T16:51:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bcdd4b48a5254c1ea134faccbe9d9ad563470117'/>
<id>urn:sha1:bcdd4b48a5254c1ea134faccbe9d9ad563470117</id>
<content type='text'>
Move SSL_new/SSL_free up into benchmark() to restrict the responsibility
for the SSL object to a single scope.  Make doConnection() return an int,
openssl-style.  Some miscellaneous cleanup, too.

Discussed with tb, jsing, and jca.  Basic idea from jsing, lots of patch
input from tb.

ok deraadt on an earlier version

ok tb jsing
</content>
</entry>
<entry>
<title>Don't fail by default in the -new case; ok tb jca</title>
<updated>2018-08-14T15:25:04+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-14T15:25:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fd0fe048aba73cca22d3220f299f765d414cb211'/>
<id>urn:sha1:fd0fe048aba73cca22d3220f299f765d414cb211</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor the nearly identical benchmark loops into a single loop.</title>
<updated>2018-08-11T16:07:36+00:00</updated>
<author>
<name>cheloha</name>
<email></email>
</author>
<published>2018-08-11T16:07:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3bdf42f49f445f33cfe8ce9261d1504d89474682'/>
<id>urn:sha1:3bdf42f49f445f33cfe8ce9261d1504d89474682</id>
<content type='text'>
Move all of the benchmark code -- loop initialization, the loops, and
the report printing -- into a new function, benchmark().  Eliminates
lots of duplicate code.

Regressions to 1.20 caught by tb@ and inoguchi@.  Tweaked by tb@.

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