mirror of
https://github.com/curl/curl.git
synced 2026-07-24 05:07:17 +03:00
openssl: remove all uses of USE_SSLEAY
SSLeay was the name of the library that was subsequently turned into OpenSSL many moons ago (1999). curl does not work with the old SSLeay library since years. This is now reflected by only using USE_OPENSSL in code that depends on OpenSSL.
This commit is contained in:
parent
1a62b6e68c
commit
709cf76f6b
35 changed files with 92 additions and 159 deletions
|
|
@ -16,7 +16,7 @@ MACRO BUILDING_LIBCURL
|
|||
MACRO HAVE_LIBZ
|
||||
#endif
|
||||
#ifdef ENABLE_SSL
|
||||
MACRO USE_SSLEAY
|
||||
MACRO USE_OPENSSL
|
||||
#endif
|
||||
|
||||
SOURCEPATH ../../../lib
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ CFLAGS_CURL += -w
|
|||
# use SSL
|
||||
# (overrides Curl's lib/config-tpf.h file)
|
||||
CFLAGS_CURL += -DUSE_OPENSSL
|
||||
CFLAGS_CURL += -DUSE_SSLEAY
|
||||
|
||||
# disable all protocols except FTP and HTTP
|
||||
# (overrides Curl's lib/config-tpf.h file)
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ $ if (.not. nossl)
|
|||
$ then
|
||||
$ if (f$trnlnm("OPENSSL") .nes. "")
|
||||
$ then
|
||||
$! cc_defs = cc_defs + ", USE_SSLEAY=1"
|
||||
$! cc_defs = cc_defs + ", USE_OPENSSL=1"
|
||||
$ if ((f$trnlnm("SSL$INCLUDE") .nes. "") .and. (.not. nohpssl))
|
||||
$ then
|
||||
$! Use HP SSL.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue