https://bugs.openldap.org/show_bug.cgi?id=10077
--- Comment #3 from michal.pura@gmail.com --- Created attachment 975 --> https://bugs.openldap.org/attachment.cgi?id=975&action=edit msvc negative nsec value
The situation happened on the MSVC compiler (Compiler Version 19.29.30147). I also cannot reproduce the problem on GCC, but I suggest to make code more resilience for any compiler.