<div dir='auto'><div><div class="gmail_extra"><div class="gmail_quote">On Oct 18, 2025 04:13, ASSI via devel <devel@ntpsec.org> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"><br>
On one of my systems where I installed LibreSSL development headers:</p>
<p dir="ltr">--8<---------------cut here---------------start------------->8---<br>
LibSSL version                                                  : LibreSSL 4.1.0 <br>
…<br>
tests that fail 1/2 <br>
    /home/gratz/ntp/ntpsec/build/main/libaes_siv/runtests <br>
stderr:<br>
runtests: ../../libaes_siv/tests.c:80: test_malloc_failure: Assertion `ret == 1' failed.<br>
--8<---------------cut here---------------end--------------->8---</p>
<p dir="ltr">The same test works correctly when using OpenSSL 3.5.3 headers instead.<br>
The binary also works just fine when ignoring the fail and tests w/o<br>
errors (I don't know if that part gets exercised though), but I think<br>
the asserts in the code (there's a second one a few lines later that<br>
testst for "ret > 1") are just not correct for LibreSSL.</p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Feel free to submit a patch.</div><div dir="auto"><br></div><div dir="auto">The tested code is only used for Network Time Security.</div><div dir="auto"><br></div><div dir="auto">Last time I checked LibreSSL did not support some features we require for NTS.</div><div dir="auto"><br></div><div dir="auto">I'm sure the situation has changed, but I don't know how.</div><div dir="auto"></div></div>