- 02 Jul, 2015 2 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
- 01 Jul, 2015 13 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
Known to fail on VMs (such as the buildbots), see eg http://blog.badtrace.com/post/rdtsc-x86-instruction-to-detect-vms/
-
Manuel Pégourié-Gonnard authored
This is particularly problematic when calling FD_SET( -1, ... ), but let's check it in all functions. This was introduced with the new API and the fact the net_free() now sets the internal fd to -1 in order to mark it as closed: now using this information.
-
Manuel Pégourié-Gonnard authored
Now centralized in the platform layer
-
Manuel Pégourié-Gonnard authored
The "inline" keyword is supported since Visual Studio 2005 according to MSDN, and we require Visual Studio 2010 or higher.
-
Manuel Pégourié-Gonnard authored
We now require support for stdint.h from the compiler.
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
Too recent (about one year).
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
Print only the basename from the file, and print level too.
-
Manuel Pégourié-Gonnard authored
For some reason select() doesn't seem to work.
-
Manuel Pégourié-Gonnard authored
-
- 30 Jun, 2015 6 commits
-
-
Manuel Pégourié-Gonnard authored
This is made possible by the new API where net_accept() gets a pointer to bind_ctx, so it can update it.
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
close() may be more meaningful, but free() is symmetric with _init(), and more consistent with all other modules
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
Provides more flexibility for future changes/extensions.
-
Manuel Pégourié-Gonnard authored
On Windows, recvfrom() returns an error code if the destination buffer is too small to hold the next datagram.
-
- 29 Jun, 2015 4 commits
-
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
But introduces dependency on variadic macros
-
Manuel Pégourié-Gonnard authored
-
- 27 Jun, 2015 2 commits
-
-
Manuel Pégourié-Gonnard authored
Assume we have two trusted CAs with the same name, the first uses ECDSA 256 bits, the second RSA 2048; cert is signed by the second. If we do the keysize check before we checked the key types match, we'll raise the badkey flags when checking the EC-256 CA and it will remain up even when we finally find the correct CA. So, move the check for the key size after signature verification, which implicitly checks the key type.
-
Manuel Pégourié-Gonnard authored
-
- 26 Jun, 2015 7 commits
-
-
Manuel Pégourié-Gonnard authored
When we build with Visual Studio in debug mode, the invalid parameter handler aborts the application (and offers to debug it) when n is 0. We want to just return -1 instead (as calls with n == 0 are expected and happen in our tests).
-
Manuel Pégourié-Gonnard authored
For the sake of systems where we want gmake.
-
Manuel Pégourié-Gonnard authored
Used to fail on our FreeBSD and Windows buildbots. Seems to be working at least on my Darwin physical machine and on my Windows VM with MSYS2 now.
-
Manuel Pégourié-Gonnard authored
Some versions of "which" print on stderr.
-
Manuel Pégourié-Gonnard authored
x509_get_name() does not make defensive copies of strings in its input (which is OK as usually the caller will have made a copy already), so we shouldn't reuse its input buffer as an output while "parsed" is still alive.
-
Manuel Pégourié-Gonnard authored
Our Windows implementation based on vsnprintf_s( ..., _TRUNCATE ) sometimes writes *two* terminating NULLs. Allow for that, but obviously bytes past the end of the buffer mustn't be touched.
-
Manuel Pégourié-Gonnard authored
-
- 25 Jun, 2015 6 commits
-
-
Manuel Pégourié-Gonnard authored
Name chosen to match the existing make target.
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
I was a bit too trigger-happy with copy-pasting in a previous commit...
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-
Manuel Pégourié-Gonnard authored
-