<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/test/errtest.c, branch openssl-3.3.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2023-10-23T09:08:22Z</updated>
<entry>
<title>Add a test for OSSL_ERR_STATE_save_to_mark()</title>
<updated>2023-10-23T09:08:22Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-10-12T15:10:12Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=d3bb8fe73df16e5a96dc94f1ab770b35b6694931'/>
<id>urn:sha1:d3bb8fe73df16e5a96dc94f1ab770b35b6694931</id>
<content type='text'>
Add a test for the recently added function OSSL_ERR_STATE_save_to_mark().
We can just modify the existing test_save_restore() to add this in.

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/22368)
</content>
</entry>
<entry>
<title>Copyright year updates</title>
<updated>2023-09-07T08:59:15Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2023-09-07T08:59:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=da1c088f599af3755aaeed1c447a39621ef12e1f'/>
<id>urn:sha1:da1c088f599af3755aaeed1c447a39621ef12e1f</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Test OSSL_ERR_STATE_save/restore()</title>
<updated>2023-07-07T13:13:29Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2023-05-31T18:27:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=ff0de1637b5e25719a976c85f969598086d80358'/>
<id>urn:sha1:ff0de1637b5e25719a976c85f969598086d80358</id>
<content type='text'>
Reviewed-by: Paul Dale &lt;pauli@openssl.org&gt;
Reviewed-by: Hugo Landau &lt;hlandau@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/21087)
</content>
</entry>
<entry>
<title>err: clear flags better when clearing errors.</title>
<updated>2021-06-10T08:11:45Z</updated>
<author>
<name>Pauli</name>
<email>pauli@openssl.org</email>
</author>
<published>2021-06-09T01:58:48Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5a9dbfc58ab280ec426ed013f5aed5a5660b938a'/>
<id>urn:sha1:5a9dbfc58ab280ec426ed013f5aed5a5660b938a</id>
<content type='text'>
An attempt to clear an error with malloced data didn't clear the flags.
Now it clears all flags except the malloced flag.

Fixes #12530

Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15667)
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2021-05-06T12:03:23Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2021-05-06T12:03:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=aff636a4893e24bdc686a00a13ae6199dd38d6aa'/>
<id>urn:sha1:aff636a4893e24bdc686a00a13ae6199dd38d6aa</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/15181)
</content>
</entry>
<entry>
<title>Runchecker fix for the no-autoerrinit build</title>
<updated>2021-04-23T09:25:25Z</updated>
<author>
<name>Pauli</name>
<email>pauli@openssl.org</email>
</author>
<published>2021-04-22T01:04:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=582043dae7c283cb9f116946a7a1df0c53b5f192'/>
<id>urn:sha1:582043dae7c283cb9f116946a7a1df0c53b5f192</id>
<content type='text'>
In this case, there was a slight different error output format that wasn't
being accounted for in the error test.

Fixes #14961

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/14976)
</content>
</entry>
<entry>
<title>TEST: Adapt test/errtest for the 'no-err' configuration</title>
<updated>2020-11-27T11:02:56Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-11-25T11:05:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=abcca5078fc2b5059462bf6a9c659f235c11d5d8'/>
<id>urn:sha1:abcca5078fc2b5059462bf6a9c659f235c11d5d8</id>
<content type='text'>
Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
(Merged from https://github.com/openssl/openssl/pull/13510)
</content>
</entry>
<entry>
<title>Add a test for setting, popping and clearing error marks</title>
<updated>2020-11-19T14:57:18Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2020-11-06T12:53:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=c34063d7a1e8e3e0f760fd998366165862730bae'/>
<id>urn:sha1:c34063d7a1e8e3e0f760fd998366165862730bae</id>
<content type='text'>
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/13335)
</content>
</entry>
<entry>
<title>Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call</title>
<updated>2020-11-13T08:35:02Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-11-04T11:23:19Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2'/>
<id>urn:sha1:9311d0c471ca2eaa259e8c1bbbeb7c46394c7ba2</id>
<content type='text'>
This includes error reporting for libcrypto sub-libraries in surprising
places.

This was done using util/err-to-raise

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/13318)
</content>
</entry>
<entry>
<title>TEST: fix test/errtest.c</title>
<updated>2020-07-05T19:13:25Z</updated>
<author>
<name>Richard Levitte</name>
<email>levitte@openssl.org</email>
</author>
<published>2020-06-29T10:43:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=17b7f8968481aa99c622080ac73879f42fb8c4ae'/>
<id>urn:sha1:17b7f8968481aa99c622080ac73879f42fb8c4ae</id>
<content type='text'>
test/errtest.c used the system error code 1 for EPERM.  However, EPERM
may be coded differently on different systems, so we switch to using
EPERM instead.  However, because we know that the ERR sub-system
truncates system error codes that occupy more than 24 bits, we check
that the reason code in the recorded error matches our EPERM, and skip
the test if not.

To be safe (even though the error string for that code is well defined
in POSIX), we also use strerror() to retrieve the string for that
error code instead of using a hard coded value.

Fixes #12276
Fixes #12217
Fixes #12354

Reviewed-by: David von Oheimb &lt;david.von.oheimb@siemens.com&gt;
(Merged from https://github.com/openssl/openssl/pull/12343)
</content>
</entry>
</feed>
