[Privoxy-devel] Can not compile with openssl 1.0.2

Hớ Hờ Hợ kjllmeplz at gmail.com
Mon Sep 21 08:22:27 UTC 2020


Hi, I tried to compile privoxy with openssl ver 1.0.2 on cygwin and msys2
in windows 10. But, i got this error:
x86_64-w64-mingw32-gcc -c -pipe -O2 -Wshadow -DWINVER=0x501   -mwindows
-Wall -Ipcre  openssl.c -o openssl.o
In file included from
P:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:95,
                 from project.h:62,
                 from openssl.c:42:
P:/msys64/mingw64/include/openssl/ssl.h:1611:5: error: expected
specifier-qualifier-list before '(' token
 1611 |     X509_EXTENSIONS *tlsext_ocsp_exts;
      |     ^~~~~~~~~~~~~~~

openssl ver 1.1.1 seem to work fine.

Can anyone look at this problem and provide the patch to fix it.

Thanks.


More information about the Privoxy-devel mailing list