Skip to content

Commit

Permalink
Rename InitCTX() to Init() and make it not pure virtual, as requested…
Browse files Browse the repository at this point in the history
… by Brian
  • Loading branch information
ffurano committed Feb 22, 2017
1 parent 140a9a3 commit 95b0650
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/XrdHttp/XrdHttpProtocol.cc
Expand Up @@ -1385,7 +1385,7 @@ int XrdHttpProtocol::InitSecurity() {

}

if (secxtractor) secxtractor->InitCTX(sslctx, XrdHttpTrace->What);
if (secxtractor) secxtractor->Init(sslctx, XrdHttpTrace->What);

ERR_print_errors(sslbio_err);
return 0;
Expand Down
4 changes: 2 additions & 2 deletions src/XrdHttp/XrdHttpSecXtractor.hh
Expand Up @@ -42,13 +42,13 @@ class XrdHttpSecXtractor
{
public:

// Extract security info from the link instaaance, and use it to populate
// Extract security info from the link instance, and use it to populate
// the given XrdSec instance
virtual int GetSecData(XrdLink *, XrdSecEntity &, SSL *) = 0;


// Initializes an ssl ctx
virtual int InitCTX(SSL_CTX *, int) = 0;
virtual int Init(SSL_CTX *, int) { return -1; };
virtual int InitSSL(SSL *, char *) = 0;
virtual int FreeSSL(SSL *) = 0;

Expand Down

0 comments on commit 95b0650

Please sign in to comment.