I grepped for localtime function ... mostly it is used in Dump/Print/Browse functions. A potentially relevant usage is in initialization of static time_t TZCorr in src/XrdCrypto/XrdCryptoAux.cc:
https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptoAux.cc#L85

Then, there are the following usages of this variable to translate to localtime:
https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptosslgsiAux.cc#L887
https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptoX509.cc#L112
https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptoX509.cc#L124
while NotAfter() and friends seems to return it in UTC:
https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptosslX509.cc#L455

This seems to be the location where the error from the original post is hit:
https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptoX509Chain.cc#L825


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/985#issuecomment-802219235", "url": "https://github.com/xrootd/xrootd/issues/985#issuecomment-802219235", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1