<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/rand.c, branch bagder/https-proxyu-req-http</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>PolarSSL: deprecate support step 1. Removed from configure.</title>
<updated>2019-05-22T08:00:56+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-05-15T11:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=269f7df0aec1787011e809f16bbae0a9b0dee92f'/>
<id>269f7df0aec1787011e809f16bbae0a9b0dee92f</id>
<content type='text'>
Also removed mentions from most docs.

Discussed: https://curl.haxx.se/mail/lib-2019-05/0045.html

Closes #3888
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also removed mentions from most docs.

Discussed: https://curl.haxx.se/mail/lib-2019-05/0045.html

Closes #3888
</pre>
</div>
</content>
</entry>
<entry>
<title>rand: add comment to skip a clang-tidy false positive</title>
<updated>2018-10-27T13:59:44+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2018-10-27T13:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=75b94d77e8daedbe56249abfd2652cbbfcd08958'/>
<id>75b94d77e8daedbe56249abfd2652cbbfcd08958</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rand: fix typo</title>
<updated>2018-05-16T06:21:06+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2018-05-16T06:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4f9bbd3ac78191134bdd02df1b95959eb43efeba'/>
<id>4f9bbd3ac78191134bdd02df1b95959eb43efeba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rand: add a clang-analyzer work-around</title>
<updated>2017-12-12T23:45:42+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-12-12T23:45:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=02f207a76b45129e4d033c099e6d17581801c76e'/>
<id>02f207a76b45129e4d033c099e6d17581801c76e</id>
<content type='text'>
scan-build would warn on a potential access of an uninitialized
buffer. I deem it a false positive and had to add this somewhat ugly
work-around to silence it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
scan-build would warn on a potential access of an uninitialized
buffer. I deem it a false positive and had to add this somewhat ugly
work-around to silence it.
</pre>
</div>
</content>
</entry>
<entry>
<title>time: rename Curl_tvnow to Curl_now</title>
<updated>2017-10-25T16:48:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-10-25T09:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=5d543fe90670c1924fd2c7d6be871b3ad90c438d'/>
<id>5d543fe90670c1924fd2c7d6be871b3ad90c438d</id>
<content type='text'>
... since the 'tv' stood for timeval and this function does not return a
timeval struct anymore.

Also, cleaned up the Curl_timediff*() functions to avoid typecasts and
clean up the descriptive comments.

Closes #2011
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... since the 'tv' stood for timeval and this function does not return a
timeval struct anymore.

Also, cleaned up the Curl_timediff*() functions to avoid typecasts and
clean up the descriptive comments.

Closes #2011
</pre>
</div>
</content>
</entry>
<entry>
<title>timediff: return timediff_t from the time diff functions</title>
<updated>2017-10-25T07:54:37+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-10-23T10:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=b9d25f9a6b3ca791385b80a6a3c3fa5ae113e1e0'/>
<id>b9d25f9a6b3ca791385b80a6a3c3fa5ae113e1e0</id>
<content type='text'>
... to cater for systems with unsigned time_t variables.

- Renamed the functions to curlx_timediff and Curl_timediff_us.

- Added overflow protection for both of them in either direction for
  both 32 bit and 64 bit time_ts

- Reprefixed the curlx_time functions to use Curl_*

Reported-by: Peter Piekarski
Fixes #2004
Closes #2005
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to cater for systems with unsigned time_t variables.

- Renamed the functions to curlx_timediff and Curl_timediff_us.

- Added overflow protection for both of them in either direction for
  both 32 bit and 64 bit time_ts

- Reprefixed the curlx_time functions to use Curl_*

Reported-by: Peter Piekarski
Fixes #2004
Closes #2005
</pre>
</div>
</content>
</entry>
<entry>
<title>timeval: struct curltime is a struct timeval replacement</title>
<updated>2017-07-28T13:51:25+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-07-28T13:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4dee50b9c80f9b18d2eb9a1c20bd879abb342302'/>
<id>4dee50b9c80f9b18d2eb9a1c20bd879abb342302</id>
<content type='text'>
... to make all libcurl internals able to use the same data types for
the struct members. The timeval struct differs subtly on several
platforms so it makes it cumbersome to use everywhere.

Ref: #1652
Closes #1693
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... to make all libcurl internals able to use the same data types for
the struct members. The timeval struct differs subtly on several
platforms so it makes it cumbersome to use everywhere.

Ref: #1652
Closes #1693
</pre>
</div>
</content>
</entry>
<entry>
<title>assert: avoid, use DEBUGASSERT instead!</title>
<updated>2017-05-22T11:59:29+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2017-05-22T11:58:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8589e1fe30773e10c50b9a65d4f96eeb8434233c'/>
<id>8589e1fe30773e10c50b9a65d4f96eeb8434233c</id>
<content type='text'>
... as it does extra checks to actually work.

Reported-by: jonrumsey at github
Fixes #1504
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... as it does extra checks to actually work.

Reported-by: jonrumsey at github
Fixes #1504
</pre>
</div>
</content>
</entry>
<entry>
<title>rand: treat fake entropy the same regardless of endianness</title>
<updated>2017-05-08T21:24:29+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2017-05-08T21:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=1cafede9f2b4a838dfc80423415e60704b3346f9'/>
<id>1cafede9f2b4a838dfc80423415e60704b3346f9</id>
<content type='text'>
When the random seed is purposely made predictable for testing purposes
by using the CURL_ENTROPY environment variable, process that data in an
endian agnostic way so the the initial random seed is the same
regardless of endianness.

- Change Curl_rand to write to a char array instead of int array.

- Add Curl_rand_hex to write random hex characters to a buffer.

Fixes #1315
Closes #1468

Co-authored-by: Daniel Stenberg
Reported-by: Michael Kaufmann
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the random seed is purposely made predictable for testing purposes
by using the CURL_ENTROPY environment variable, process that data in an
endian agnostic way so the the initial random seed is the same
regardless of endianness.

- Change Curl_rand to write to a char array instead of int array.

- Add Curl_rand_hex to write random hex characters to a buffer.

Fixes #1315
Closes #1468

Co-authored-by: Daniel Stenberg
Reported-by: Michael Kaufmann
</pre>
</div>
</content>
</entry>
<entry>
<title>spelling fixes</title>
<updated>2017-03-26T21:56:23+00:00</updated>
<author>
<name>klemens</name>
<email>ka7@github.com</email>
</author>
<published>2017-03-26T15:02:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f7df67cff0a756eefc8daea36e6468df694a43d0'/>
<id>f7df67cff0a756eefc8daea36e6468df694a43d0</id>
<content type='text'>
Closes #1356
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1356
</pre>
</div>
</content>
</entry>
</feed>
