Skip to content

Commit

Permalink
Merge pull request #545 from simonmichal/master
Browse files Browse the repository at this point in the history
[XrdSecgsi] Make sure client does not segv if gsi credentail is not p…
  • Loading branch information
gganis committed Jul 24, 2017
2 parents 2bf7a9d + 771dbc3 commit 069f21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdSecgsi/XrdSecProtocolgsi.cc
Expand Up @@ -4595,7 +4595,7 @@ static bool QueryProxyCheck(XrdSutCacheEntry *e, void *a) {

time_t ts_ref = (time_t)(*((XrdSutCacheArg_t *)a)).arg1;

if (e) {
if (e && e->buf1.buf) {
X509Chain *chain = (X509Chain *)(e->buf1.buf);
if (chain->CheckValidity(1, ts_ref) == 0) return true;
}
Expand Down

0 comments on commit 069f21f

Please sign in to comment.