13 Commits

Author SHA1 Message Date
Thomas Quinot
fc5ff43700 Remove SSLv2 support altogether
This protocol is ancient, insecure, obsolete, and deprecated.

For QB24-032

Subversion-branch: /trunk/polyorb
Subversion-revision: 259181
2017-11-28 12:10:19 +00:00
Thomas Quinot
4536bb780c Provide SSLv2_*_method stub only if missing from libssl
Previously these functions were not present in libssl if it was
built without SSLv2, which is indicated by the presence of macro
OPENSSL_NO_SSL2.

However, OpenSSL commit 03c71b84d351a3a5de0bc7d39a99336369277849
changed this to always expose these functions even when building
without SSLv2 (unless OPENSSL_NO_SSL2_METHOD is defined).

So, we need to actually test for the presence of these functions
to determine whether we need to provide our own stubs.

Fix for QB24-032

Subversion-branch: /trunk/polyorb
Subversion-revision: 259150
2017-11-27 12:32:52 +00:00
Thomas Quinot
8ff7138295 (ssl.m4): Check for openssl(1) and store its location in OPENSSL
(Makefile.in): Add substitution for @OPENSSL@
(examples/corba/secure_echo/Makefile.local): Use $(OPENSSL) to call
openssl(1) as it might not be on the PATH.

Also reorganize slightly the generation of test_targets in Makefile so
that
a Makefile.local can disable its test (by unsetting test_target).

For L217-011

Subversion-branch: /trunk/polyorb
Subversion-revision: 185897
2012-02-17 09:46:54 +00:00
Vadim Godunko
3b2bbd427b To link with OpenSSL on Windows we need to specify -lgdi32 and -lws2_32
explicitly.

Note: -lgdi32 is sufficient for static libraries; -lws2_32 is required
for dynamic libraries (otherwise it comes from GNAT RTL).

For F613-011.

Subversion-branch: /trunk/polyorb
Subversion-revision: 179781
2011-10-05 15:25:50 +00:00
Thomas Quinot
0db25fd76e Fix casing of ACII.NUL
For H319-014

Subversion-branch: /trunk/polyorb
Subversion-revision: 123346
2008-03-31 09:58:24 +00:00
Thomas Quinot
6431d720db Add back missing reference to SSL_LIBDL in SSL_LDFLAGS.
Subversion-branch: /trunk/polyorb
Subversion-revision: 43184
2007-03-16 16:20:54 +00:00
Thomas Quinot
14e7b4f58e Correct determination of working OpenSSL installation path.
Fixes improper determination on x86_64, G221-013

Subversion-branch: /trunk/polyorb
Subversion-revision: 43165
2007-03-15 17:59:12 +00:00
Thomas Quinot
1e753d5b52 Ensure configure options for the selection of personalities and of SSL
usage
are correctly taken into account by the build procedure.

Subversion-branch: /trunk/polyorb
Subversion-revision: 43058
2007-03-09 16:44:26 +00:00
Thomas Quinot
29e8eeff02 (AM_WITH_OPENSSL): Append -ldl to SSL_LDFLAGS if present on system,
because libcrypto uses dynamic linking functions.

Fixes build failure on Solaris 8 (G223-021)

Subversion-branch: /trunk/polyorb
Subversion-revision: 42761
2007-02-23 18:06:39 +00:00
Thomas Quinot
69593fd1aa When compiling with OpenSSL support, supply a pragma Linker_Options
giving
the required library search path.

Subversion-branch: /trunk/polyorb
Subversion-revision: 42217
2007-01-31 16:58:49 +00:00
Thomas Quinot
a38dc47a1c Special case for RH Linux 9, which requires Kerberos5 headers
for compiling OpenSSL stuff. Should fix nightly build failure
here.

[Imported from Perforce change 9276 at 2006-12-01 21:17:57]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36783
2005-04-19 15:39:48 +00:00
Thomas Quinot
13ec587a90 Fix SSL support autoconf macro.
[Imported from Perforce change 9275 at 2006-12-01 21:17:57]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36782
2005-04-19 12:05:20 +00:00
Thomas Quinot
2fb3ad8823 Add low-level support code for OpenSSL.
Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot

[Imported from Perforce change 9270 at 2006-12-01 21:17:52]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36777
2005-04-18 14:49:21 +00:00