building with openssl on windows
Michael Teske via omniORB-list <[email protected]> Fri, 15 Jul 2022 22:58:27 +0200
| Newsgroups | gmane.comp.corba.omniorb.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, unfortunately we will required to be able to encrypt our CORBA connections. On Linux openssl is compiled into omniORB automatically, but on windows I have to find a lib myself. For a starter I tried https://kb.firedaemon.com/support/solutions/articles/4000121705 (OpenSSL 1.1.1q, this seems to be nearest to the version used on rhel8 (1.1.1k) successfully). But when I try to build it with make export platform=x86_win32_vs_16 PYTHON=$(PYTHON_EXE) OPEN_SSL_ROOT=/cygdrive/c/openssl-1.1/x64, I get some missing symbols, (e.g. DH_new and BN_bin2bn) which I could resolve by adding #include <openssl/dh.h> #include <openssl/bn.h> to sslContext.cc . Is this really some difference between windows and linux or OpenSSL 1.1.1q and 1.1.1k, or did I do something wrong? Greetings, Michael