Skip to content

Commit

Permalink
Merge: sync release notes with stable-4.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Feb 7, 2017
2 parents e66fe56 + 57d5687 commit a7aa3e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/XrdClient/XrdClient.cc
Expand Up @@ -1372,15 +1372,15 @@ bool XrdClient::OpenFileWhenRedirected(char *newfhandle, bool &wasopen)
Info(XrdClientDebug::kHIDEBUG,
"OpenFileWhenRedirected", "Stripping off the 'delete' option." );

options &= !kXR_delete;
options &= ~kXR_delete;
options |= kXR_open_updt;
}

if (fOpenPars.options & kXR_new) {
Info(XrdClientDebug::kHIDEBUG,
"OpenFileWhenRedirected", "Stripping off the 'new' option." );

options &= !kXR_new;
options &= ~kXR_new;
options |= kXR_open_updt;
}

Expand Down
5 changes: 1 addition & 4 deletions src/XrdSecpwd/XrdSecProtocolpwd.cc
Expand Up @@ -1015,7 +1015,7 @@ if (hs->Step == kXPS_init)
SessionSt.options = kOptsClntTty;
}
// case kXPS_puk:
if (hs->Step == kXPS_puk)
if ((hs->Step == kXPS_init) || (hs->Step == kXPS_puk))
{
// After auto-reg request, server puk have been saved in ParseClientInput:
// we need to start a full normal login now
Expand Down Expand Up @@ -1045,8 +1045,6 @@ if (hs->Step == kXPS_puk)
}
}
// case kXPS_signedrtag: // (after kXRC_verifysrv)
if (hs->Step == kXPS_signedrtag)
{
//
// Add the username
if (hs->User.length()) {
Expand Down Expand Up @@ -1081,7 +1079,6 @@ if (hs->Step == kXPS_signedrtag)
SessionSt.options |= kOptsChngPwd;
//
nextstep = kXPC_normal;
}
break;

case kXPS_credsreq:
Expand Down

0 comments on commit a7aa3e9

Please sign in to comment.