Skip to content

Commit

Permalink
Merge pull request #1069 from ffurano/fixubuntu
Browse files Browse the repository at this point in the history
Fix compilation for Ubuntu and openssl >= 1.1
  • Loading branch information
ffurano committed Oct 9, 2019
2 parents 1d9f7a7 + 6625a1a commit 239a395
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/XrdHttp/XrdHttpProtocol.cc
Expand Up @@ -1657,12 +1657,11 @@ int XrdHttpProtocol::InitSecurity() {


const SSL_METHOD *meth;



#if OPENSSL_VERSION_NUMBER >= 0x10100000L
meth = TLS_method();
eDest.Say(" Using TLS");
#elif HAVE_TLS
eDest.Say(" Using TLS_method");
#elif defined (HAVE_TLS)
meth = TLS_method();
eDest.Say(" Using TLS");
#elif defined (HAVE_TLS12)
Expand Down

0 comments on commit 239a395

Please sign in to comment.