<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<blockquote dir="auto">
<p>This test checks whether the abort signal is received from invalid use of gnutls calls.</p>
</blockquote>
<p dir="auto"><em>AND</em> it also tests that the functions return error. In case assert() has <em>not</em> been called, the test still PASSes as long as an error is returned. Thus your above statement is technically wrong (or not 100% correct).</p>
<p dir="auto">My changes let assert() abort the program, and abortion is taken as success. I kept the code which checks the functions return value, just in case. If any of those cipher functions returns OK, the tests FAILs.</p>
<p dir="auto">So the functionality of the test has not changed - it just doesn't rely on SIGABRT signal handlers. I could add a check <code>WIFSIGNALED(status) && WTERMSIG(status) == SIGABRT</code> to make 100% sure that not anything else caused program abortion, if that is what you are missing.</p>
<p dir="auto">But if you like it better, I have no problem with going the <code>disable-non-portable</code> way.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/852#note_128352244">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/e244ca0c7fc15251b7716ec94bd2b972/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/852#note_128352244"}}</script>
</p>
</div>
</body>
</html>