In Windows there is no get(e)uid() call available, so the build fails.
The patch now checks whether OPENSSL_SYS_WINDOWS is defined and only
uses those calls if _not_ on Windows.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
bundle) to be set through the environment variable
‘OPENSSL_X509_CERT_FILE’. This is necessary because the default
location ($out/ssl/cert.pem) doesn't exist, and hardcoding something
like /etc/ssl/cert.pem is impure and cannot be overriden
per-process. For security, the environment variable is ignored for
setuid binaries.
svn path=/nixpkgs/trunk/; revision=29224