You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Pe...@apache.org on 2026/04/20 20:30:47 UTC

OpenSSL & LibreSSL

Hi all,

i am not sure what my experiment is turning into. lol.

I found out today that you can not build openSSL or LibreSSL with 
MSCV2008 compilers, becouse both use c99 code, which is not well 
implemented with MSCV2008 it seems.

@Damjan did you manage to build OpenSSL with SCONs? and i miss something?

Now i dodged this by creating a OpenSSLShim, bridging the MSCV2008 
crypto bcrypt. And this seems to compile at least if i skip some crypto 
algorythmn. *hide*

constEVP_MD*EVP_md2(void);       /* returns NULL — not in BCrypt */
constEVP_MD*EVP_ripemd160(void); /* returns NULL — not in BCrypt */
constEVP_MD*EVP_whirlpool(void); /* returns NULL — not in BCrypt */
then i wondered that i somehow missed curl. And i figured that the ai 
figured out (dont know if correct or not) that it needs only a minizip, 
and compiled only the needed parts of zlib.
lol. This is really nuts. I am not sure how i continue. I mean i learn a 
lot. But how to deal with this freaking old SDK I dont know. I could 
replace it again with mingw, at least i know that that worked, simply 
reducing old and bazel compile.

I will keep you posted. I will continue for now with MSVC, but i have 
doubt i get something that we can release (why did i hope?), but maybe 
it can be a jump point? Not sure in need to think and read.
all the best
peter

Re: OpenSSL & LibreSSL

Posted by Pe...@apache.org.
Am 21.04.2026 um 04:02 schrieb Damjan Jovanovic:
> On Mon, Apr 20, 2026 at 10:30 PM <Pe...@apache.org> wrote:
>
>> Hi all,
>>
>> i am not sure what my experiment is turning into. lol.
>>
>> I found out today that you can not build openSSL or LibreSSL with
>> MSCV2008 compilers, becouse both use c99 code, which is not well
>> implemented with MSCV2008 it seems.
>>
>> @Damjan did you manage to build OpenSSL with SCONs? and i miss something?
>>
>>
> According to https://github.com/openssl/openssl/blob/master/NOTES-C99.md
> "Starting with 3.6 OpenSSL project is going to gradually adopt C-99
> features."
>
> I've never needed C99 because our OpenSSL version is 3.0.13.
thanks, i missed that. I will try then OpenSSL again.

All the best

Peter

>
> Regards
> Damjan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: OpenSSL & LibreSSL

Posted by Damjan Jovanovic <da...@apache.org>.
On Mon, Apr 20, 2026 at 10:30 PM <Pe...@apache.org> wrote:

> Hi all,
>
> i am not sure what my experiment is turning into. lol.
>
> I found out today that you can not build openSSL or LibreSSL with
> MSCV2008 compilers, becouse both use c99 code, which is not well
> implemented with MSCV2008 it seems.
>
> @Damjan did you manage to build OpenSSL with SCONs? and i miss something?
>
>
According to https://github.com/openssl/openssl/blob/master/NOTES-C99.md
"Starting with 3.6 OpenSSL project is going to gradually adopt C-99
features."

I've never needed C99 because our OpenSSL version is 3.0.13.

Regards
Damjan