[Openvpn-devel] [PATCH v2] Use constrain_int() instead of MIN()+syshead.c compat definition - v2.

2013-05-06 Thread Gert Doering
Reverts commit 15ca5c297b556fbb, instead change ssl_openssl.c to use "constrain_int()", which already exists in "integer.h". Using this instead of min_int() ensures that the result is always bounded to 0...256 even in the case of a potential MAX_INT overflow. --- src/openvpn/ssl_openssl.c |2

Re: [Openvpn-devel] openvpn-gui build error (cross-compile for Windows)

2013-05-06 Thread Samuli Seppänen
Hi Felix, I suggest patching the MinGW version that's bundled with Debian. These links should contain all the information you need: The patches attached to the