Skip to content

Commit

Permalink
[Server] Adjust tyhe xrootd.tls directive for usabiliity.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 authored and simonmichal committed Jun 21, 2019
1 parent 40ff431 commit 18c685c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/XrdXrootd/XrdXrootdConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,8 @@ int XrdXrootdProtocol::xsecl(XrdOucStream &Config)
data All bound sockets must use TLS. When specified,
session is implied unless login is specified.
login Logins and all subsequent requests must use TLS
off Turns all requirements off (default).
none Turns all requirements off (default).
off Synonym for off.
session All requests after login must use TLS
tpc Third party copy requests must use TLS
Expand Down Expand Up @@ -1710,7 +1711,7 @@ int XrdXrootdProtocol::xtls(XrdOucStream &Config)
}

while (val)
{if (!strcmp(val, "off"))
{if (!strcmp(val, "off") || !strcmp(val, "none"))
{myRole &= ~kXR_tlsAny;
if (forall) tlsCap = tlsNot = 0;
else tlsCap = 0;
Expand Down

0 comments on commit 18c685c

Please sign in to comment.