Skip to content

Commit

Permalink
Fix for sl6
Browse files Browse the repository at this point in the history
  • Loading branch information
ffurano committed Apr 9, 2018
1 parent 8e42444 commit 8205142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdHttp/XrdHttpProtocol.cc
Expand Up @@ -445,7 +445,7 @@ char *XrdHttpProtocol::GetClientIPStr() {


// Various routines for handling XrdLink as BIO objects within OpenSSL.
#if OPENSSL_VERSION_NUMBER < 0x1000207fL
#if OPENSSL_VERSION_NUMBER < 0x1000105fL
int BIO_XrdLink_write(BIO *bio, const char *data, size_t datal, size_t *written)
{
if (!data || !bio) {
Expand Down Expand Up @@ -488,7 +488,7 @@ int BIO_XrdLink_write(BIO *bio, const char *data, int datal)
#endif


#if OPENSSL_VERSION_NUMBER < 0x1000207fL
#if OPENSSL_VERSION_NUMBER < 0x1000105fL
static int BIO_XrdLink_read(BIO *bio, char *data, size_t datal, size_t *read)
{
if (!data || !bio) {
Expand Down

0 comments on commit 8205142

Please sign in to comment.