Urlaub

2022-10-16 Thread silvan . scherrer
Sehr geehrte Damen und Herren
vom 8. Oktober bis und mit dem 18. Oktober bin ich im Urlaub.
eMails werden nur sehr spärlich gelesen und nur in dringenden Fällen beantwortet

freundliche Grüsse
Silvan Scherrer




RE: Build openssl on windows 10 using cygwin

2022-10-16 Thread Michael Wojcik via openssl-users
> From: openssl-users  On Behalf Of  ???
> Sent: Saturday, 15 October, 2022 15:48

> I have tried to build openssl using cygwin:

> Both options starts compiling, but end up with error:
> In file included from providers/implementations/storemgmt/winstore_store.c:27:
> /usr/include/w32api/wincrypt.h:20:11: error: unknown type name 'LONG'
>   20 |   typedef LONG HRESULT;
> Q: What am I missing here?

Well, the version of OpenSSL you're using, for one thing. And what C 
implementation; there are various ones which can be used under Cygwin. Cygwin 
is an environment, not a build toolchain.

I don't know if this is still true, or if it differs for 1.1.1 and 3.0; but 
historically there have been issues using Cygwin perl to build OpenSSL, because 
OpenSSL on Windows wants a perl implementation that uses Windows-style file 
paths. We use Strawberry Perl.

That said, that error appears to be due to an issue with the Windows SDK 
headers, since it's the Windows SDK which should be typedef'ing LONG. (Because 
we wouldn't want Microsoft to use actual standard C type names, would we?) So 
this might be due to not having some macro defined when including the various 
Windows SDK headers.

-- 
Michael Wojcik