<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/crypto/compat, branch v3.8.3</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=v3.8.3</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=v3.8.3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2024-03-03T21:32:50+00:00</updated>
<entry>
<title>Windows: Fix assertion pop-up up when using Debug compiled libressl.</title>
<updated>2024-03-03T21:32:50+00:00</updated>
<author>
<name>Christian Andersen</name>
<email>csandersen3@gmail.com</email>
</author>
<published>2024-02-04T16:04:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=7eb79e69595a92398bf1d63c5c0799de6647130c'/>
<id>urn:sha1:7eb79e69595a92398bf1d63c5c0799de6647130c</id>
<content type='text'>
When running the signertest, or the test project in 
https://github.com/libressl/portable/issues/266 an assertion window
pops up. This was fixed in afcd4be8a72a for a release compiled library.
To prevent the issue in debug mode, it looks like it is necessary to 
also disable the assertion window popup. 

With this all tests pass when compiling and running them with a Debug,
Release or RelWithDebInfo CMake build on windows (for me).
</content>
</entry>
<entry>
<title>windows: minor compat header fixes</title>
<updated>2024-03-03T21:32:50+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2023-12-11T21:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=5809029cb1fddf12726ab6aa557610234358e940'/>
<id>urn:sha1:5809029cb1fddf12726ab6aa557610234358e940</id>
<content type='text'>
- posix_win.c: use `snprintf` as-is with _MSC_VER &gt;= 1900
- stdio.h: include socket header before windows.h
- pthread.h: delete exec permission from source file
</content>
</entry>
<entry>
<title>upgrade links in comments to HTTPS</title>
<updated>2024-03-03T21:32:50+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2023-12-11T16:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=819b60642d8f7809affc6e4bac9fb3e12a4169bc'/>
<id>urn:sha1:819b60642d8f7809affc6e4bac9fb3e12a4169bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>delete unused `savsig` variable</title>
<updated>2023-11-03T17:56:40+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2023-11-03T17:56:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=e1217db87d2ff37ab6a41048d16327212f670bb4'/>
<id>urn:sha1:e1217db87d2ff37ab6a41048d16327212f670bb4</id>
<content type='text'>
Follow-up to dd1d96f643b01a5edbe7e0db8399f3c88f5f0c8b

Fixes #925
</content>
</entry>
<entry>
<title>fix cross-compilation on Windows 11 Arm64</title>
<updated>2023-10-31T03:57:33+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-10-31T03:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=dd1d96f643b01a5edbe7e0db8399f3c88f5f0c8b'/>
<id>urn:sha1:dd1d96f643b01a5edbe7e0db8399f3c88f5f0c8b</id>
<content type='text'>
signal.h is less populated in this environment, remove stub signal
handlers
</content>
</entry>
<entry>
<title>Land #886, add compat getopt implementation</title>
<updated>2023-07-07T09:32:20+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-07-07T09:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=51368394eb92381952051795a2cc226eba4daa52'/>
<id>urn:sha1:51368394eb92381952051795a2cc226eba4daa52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add compat getopt implementation, remove patches</title>
<updated>2023-07-07T09:11:20+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-07-07T08:46:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=7463f87cf1c3b8494a604976a8f818b07747b55e'/>
<id>urn:sha1:7463f87cf1c3b8494a604976a8f818b07747b55e</id>
<content type='text'>
This adds a getopt implementation for compatibility where it is not
available, removing a couple of regress patches.

Note, this is a slightly modified copy from OpenBSD libc that doesn't
expose getopt_long, which has dependency conflicts with Windows system
headers and isn't needed anyway.
</content>
</entry>
<entry>
<title>fix get/setsockopt reversed logic</title>
<updated>2023-07-06T19:05:06+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-07-06T19:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=c9b18cb296c0f43d56b9dc9c1e05b57fc780c798'/>
<id>urn:sha1:c9b18cb296c0f43d56b9dc9c1e05b57fc780c798</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove unneeded extern since we're not trying to hack this into mingw-w64</title>
<updated>2023-07-06T17:53:12+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-07-06T17:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=f75c00226cdae7a42b4ce30ee794ed6f8bc660cd'/>
<id>urn:sha1:f75c00226cdae7a42b4ce30ee794ed6f8bc660cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change socket / file descriptor checks on windows</title>
<updated>2023-07-06T17:32:34+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2023-07-06T17:32:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=afcd4be8a72abcae003f1760eea407cf3db5e14e'/>
<id>urn:sha1:afcd4be8a72abcae003f1760eea407cf3db5e14e</id>
<content type='text'>
based on discussion in https://github.com/libressl/portable/issues/266
and https://bugs.python.org/issue23524 adjust the compat layer for
Windows to use _get_osfhandle in combination with
_set_thread_local_invalid_parameter_handler if applicable to more
reliably determine if a handle is a socket, file, or closed socket.

This prevents assertions when calling tls_close on an already-closed
socket.
</content>
</entry>
</feed>
