<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/crypto/compat, branch v2.1.7</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=v2.1.7</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=v2.1.7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2015-02-18T00:15:17+00:00</updated>
<entry>
<title>disable system issetugid on OS X since it is not fork-safe</title>
<updated>2015-02-18T00:15:17+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-02-17T04:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a859b93ff583300349ee0b7fb8231cf6c387e269'/>
<id>urn:sha1:a859b93ff583300349ee0b7fb8231cf6c387e269</id>
<content type='text'>
Noticed while testing similar code for AIX.
ok beck@
</content>
</entry>
<entry>
<title>remove getuid/getgid fallbacks from hp-ux issetugid emulation</title>
<updated>2015-02-17T04:30:27+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-02-17T04:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=adc416e922f98b4b52093f26c91216e3b4106f3d'/>
<id>urn:sha1:adc416e922f98b4b52093f26c91216e3b4106f3d</id>
<content type='text'>
Fail closed if we cannot obtain the process flags. Noticed while looking
at a similar function for AIX.
</content>
</entry>
<entry>
<title>add NetBSD shims for arc4random</title>
<updated>2015-01-21T12:14:24+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2015-01-21T12:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a2233651277a50955cdc4c7810da7a12e4e33551'/>
<id>urn:sha1:a2233651277a50955cdc4c7810da7a12e4e33551</id>
<content type='text'>
The current NetBSD release, 6.1.5, fails to reseed arc4random fork. Work
around it by providing arc4random/getentropy shims. Revisit when NetBSD
7 is available.
</content>
</entry>
<entry>
<title>Add support for HP-UX</title>
<updated>2015-01-06T23:47:16+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2014-12-08T02:08:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac'/>
<id>urn:sha1:0308b63cbf9983a9bcddc2794b1c9fa0d92f18ac</id>
<content type='text'>
tested on: HP-UX 11.31 ia64,
               gcc 4.7.1(HP AllianceOne version)
               gcc 4.2.3(http://hpux.connect.org.uk)
	       HP C/aC++

HP-UX defaults to use LP32 and it treats long as 32 bit (= 4 bytes).
This build forces LP64 for treating long as 64 bit.
</content>
</entry>
<entry>
<title>Add conditional compilation for windows and posix functions.</title>
<updated>2014-12-03T23:02:29+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2014-11-20T06:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=58fcd3c39c73d83eb9782a8ef935498b18b5ae73'/>
<id>urn:sha1:58fcd3c39c73d83eb9782a8ef935498b18b5ae73</id>
<content type='text'>
This adds a Windows-specific versions of several symbols from libcrypto
and openssl(1).
</content>
</entry>
<entry>
<title>Use _WIN32 instead of __WIN32.</title>
<updated>2014-11-18T13:41:08+00:00</updated>
<author>
<name>宋冬生</name>
<email>dongsheng.song@gmail.com</email>
</author>
<published>2014-11-05T12:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=648e9136276ca214a3af6c02e7b643d4029e3848'/>
<id>urn:sha1:648e9136276ca214a3af6c02e7b643d4029e3848</id>
<content type='text'>
ok bcook@
</content>
</entry>
<entry>
<title>override native arc4random_buf on FreeBSD</title>
<updated>2014-11-03T07:19:36+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-10-28T00:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=0aeb93b9fc9ecf0f9c2e98444545de485168823d'/>
<id>urn:sha1:0aeb93b9fc9ecf0f9c2e98444545de485168823d</id>
<content type='text'>
The FreeBSD-native arc4random_buf implementation falls back to weak
sources of entropy if the sysctl fails. Remove these dangerous fallbacks
by overriding locally.

Unfortunately, pthread_atfork() is broken on FreeBSD (at least 9 and 10)
if a program does not link to -lthr. Callbacks registered with
pthread_atfork() simply fail silently. So, it is not always possible to
detect a PID wraparound. I wish we could do better.

This improves arc4random_buf's safety compared to the native FreeBSD
implementation. Tested on FreeBSD 9 and 10.

ok beck@ deraadt@
</content>
</entry>
<entry>
<title>wrap arc4random header</title>
<updated>2014-10-31T00:15:20+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-10-30T15:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a2373f7007b78e0059b8e9516666ee23ac6b7671'/>
<id>urn:sha1:a2373f7007b78e0059b8e9516666ee23ac6b7671</id>
<content type='text'>
ok @doug
</content>
</entry>
<entry>
<title>Improve and simplify function and header detection logic.</title>
<updated>2014-10-31T00:15:11+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-10-29T20:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a4cc953911a745d6e769a03cbe6442ee2fc27cbd'/>
<id>urn:sha1:a4cc953911a745d6e769a03cbe6442ee2fc27cbd</id>
<content type='text'>
Simplify autoconf checks by using AC_CHECK_FUNCS/HEADERS.
Clarify some ambiguous dependencies around strnlen/strndup.
Unconditionally enable pidwraptest for all arc4random implementations.
Remove HAVE_VASPRINTF conditional, since asprintf requires vasprintf.

ok @doug
</content>
</entry>
<entry>
<title>harmonize asprintf with OpenSSH</title>
<updated>2014-07-30T11:53:02+00:00</updated>
<author>
<name>Brent Cook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-30T11:53:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=b9ff0728e1bab018dd888c173151dba35e40ef3b'/>
<id>urn:sha1:b9ff0728e1bab018dd888c173151dba35e40ef3b</id>
<content type='text'>
 * use the original name for the file from OpenSSH (remove duplicate version)
 * add va_copy/__va_copy checks to configure
 * incorporate proposed fixes to openssh version:
   + include more system headers directly for various definitions
   + limit the scope of va_copy/va_end to their affected vsnprintf calls
   + simplify error handling, removing a dead assignment
</content>
</entry>
</feed>
