microsoft / openssl

A cross-platform cryptographic library
133 stars 57 forks source link

Rewrite entropyRT for removing C++/CX dependant. #61

Closed MouriNaruto closed 6 years ago

MouriNaruto commented 6 years ago

Because I found my library which only uses C++/WinRT and Microsoft's OpenSSL fork rely on some C++/CX's function. So I check the this fork's implementation and modify it.

I rewrite it with pure C for smaller EXE and DLL binaries size and no thrown exceptions. (WRL will throw some exceptions in some cases like HStringReference and we should throw no exception in the pure C projects like OpenSSL.) But I found static library's binary size will 4.8MB bigger than before and I want to know how to reduce.

@khouzam

Mouri

khouzam commented 6 years ago

Hi @MouriNaruto,

Thank you very much for the contribution.

I would not worry about the size of the static lib, but more about the final size of the application that links in the static lib.

MouriNaruto commented 6 years ago

@khouzam I see, thank you.