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 osschar committed Oct 10, 2019
1 parent 73b7eee commit 7a5e68c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/XrdXrootd/XrdXrootdConfig.cc
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 7a5e68c

Please sign in to comment.