Using higher-level wrapper of OpenSSL SHA1 hash function in civetweb#10380
Using higher-level wrapper of OpenSSL SHA1 hash function in civetweb#10380linev merged 2 commits intoroot-project:masterfrom
Conversation
|
Starting build on |
|
Build failed on windows10/cxx14. Errors:
And 313 more |
|
Closing this PR because it has been superseeded by PR in upstream civetweb: |
|
Jonas, |
|
Starting build on |
This is to get rid of deprecation warninigs when building on Ubuntu 22.04. Should cause no backwards compatibility poblems, as the functions that are used now are around at least since OpenSSL 1.0.2: https://www.openssl.org/docs/man1.0.2/man3/EVP_DigestInit_ex.html This patch was already applied to upstream civet: civetweb/civetweb#1072
|
Starting build on |
|
Build failed on windows10/cxx14. Errors:
|
|
@guitargeek Something wrong with Windows build? |
|
@phsft-bot build just on windows10/cxx14 |
|
Starting build on |
|
Build failed on windows10/cxx14. Errors:
And 163 more |
|
@phsft-bot build just on windows10/cxx14 |
|
Starting build on |
|
Build failed on windows10/cxx14. Errors:
|
|
@bellenot Some extra ssl library is necessary for windows? |
|
@linev well, I don't know, We don't enable OpenSSL in ROOT on Windows. How does it works now? What changed between the previous version and this one? |
|
But then this PR will not work on Windows. Old code was using Now it is not provided and therefore original SSL functions should be used. |
|
IIRC, once OpenSSL is enabled, it forces to use https only and fails opening standard http |
No, Linux version always compiled with SSL. |
|
I know there is a good reason, I'll try to find it back |
|
OK, so |
But is there any SSL library provided by Windows itself? |
Yes, but it's not compatible with OpenSSL. See for example: |
|
Note that some OpenSSL binaries are available for Windows, but I'll have to try them |
|
@guitargeek |
Keep old code for Windows and older SSL versions
|
Starting build on |
|
I add fallback solution for older OpenSSL or just for systems without OpenSSL - like Windows. |
|
Build failed on ROOT-performance-centos8-multicore/cxx17. Failing tests: |
|
Seems to be now it can be compiled on Windows. I just enable new feature only when OpenSSL 3.0 is available. |
This is to get rid of deprecation warninigs when building on Ubuntu
22.04.
Should cause no backwards compatibility poblems, as the functions that
are used now are around at least since OpenSSL 1.0.2:
https://www.openssl.org/docs/man1.0.2/man3/EVP_DigestInit_ex.html
This patch was already applied to upstream civet:
civetweb/civetweb#1072