ssh-keygen -V doesn't respect DST
Thorsten Glaser
t.glaser at tarent.de
Tue Mar 29 07:09:35 AEDT 2022
On Mon, 28 Mar 2022, Darren Tucker wrote:
> + tm.tm_isdst = -1; /* auto detect DST */
Despite this being precisely what POSIX’ strptime docs say…
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html#tag_16_582_06
… tm_isdst is optional, and therefore this needs #ifdef HAVE_TM_ISDST
and a configure test. (Also, ouch, I didn’t know about this either;
very unintuitive API combination.)
bye,
//mirabilos
--
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against Mit dem tarent-Newsletter nichts mehr verpassen:
╳ HTML eMail! Also, https://www.tarent.de/newsletter
╱ ╲ header encryption!
****************************************************
More information about the openssh-unix-dev
mailing list