<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/test/unit/crypto, branch master</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=master</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2026-10-02T08:05:59Z</updated>
<entry>
<title>Bring recent comments into line with the STYLE.md comment rules</title>
<updated>2026-10-02T08:05:59Z</updated>
<author>
<name>Bob Beck</name>
<email>beck@openssl.org</email>
</author>
<published>2026-09-09T23:28:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1234697b33694bea6e7df35704b126108d1391ea'/>
<id>urn:sha1:1234697b33694bea6e7df35704b126108d1391ea</id>
<content type='text'>
Comments added by AI-assisted commits over the last three months
often narrate the change rather than describe the code: the
behaviour being replaced, the alternative not taken, or the bug the
test was written for. STYLE.md now says that a comment states what
the code does and the constraint it satisfies, and that the
reasoning behind a change does not belong in one.

Reword those comments to that standard.

Reviewed-by: Milan Broz &lt;mbroz@openssl.org&gt;
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Merge-date: Fri Oct  2 08:06:12 2026
Merged-from: https://github.com/openssl/openssl/pull/32779
</content>
</entry>
<entry>
<title>test: add unit test for the buffering BIO</title>
<updated>2026-09-29T16:36:51Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-09-02T11:14:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=68258f5ebffd908fa48687ea9f06c29c12a2adfe'/>
<id>urn:sha1:68258f5ebffd908fa48687ea9f06c29c12a2adfe</id>
<content type='text'>
Test BIO_f_buffer through a fake next BIO whose callbacks are cmocka
mocks, covering the partial-write and retry handling on flush, the
direct read/write paths for oversized requests, the ctrl operations,
and the datagram peer recording and sendmmsg-based flushing used by
DTLS listener connections.  Wrapping the address allocation functions
additionally covers the peer recording failure branches.

Assisted-by: Claude:claude-fable-5
Reviewed-by: Daniel Kubec &lt;kubec@openssl.foundation&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Merge-date: Tue Sep 29 16:36:57 2026
Merged-from: https://github.com/openssl/openssl/pull/32642
</content>
</entry>
<entry>
<title>test: forward real stdio calls in bss_file unit test mocks</title>
<updated>2026-08-20T07:49:59Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-08-19T11:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2924476b5591e691e904c4baf57894c526c4b8de'/>
<id>urn:sha1:2924476b5591e691e904c4baf57894c526c4b8de</id>
<content type='text'>
The --wrap link option rewrites the stdio symbols of everything linked
into the test binary. In --coverage builds libgcov reads and writes the
.gcda files at process exit through fread/fwrite/fseek/ftell/fclose,
which then hit the cmocka mocks with no expectations queued and make
the binary exit with 255 after all tests have passed. Forward calls on
any stream other than the fake test pointers to the real functions.

Assisted-by: Claude:claude-fable-5
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Bob Beck &lt;beck@openssl.org&gt;
Merge-date: Thu Aug 20 07:50:12 2026
Merged-from: https://github.com/openssl/openssl/pull/32431
</content>
</entry>
<entry>
<title>Add BIO bss_file test</title>
<updated>2026-08-08T15:25:20Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-07-17T17:20:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1261c82f1e8a961294f9b119c258b1952bdcfbe3'/>
<id>urn:sha1:1261c82f1e8a961294f9b119c258b1952bdcfbe3</id>
<content type='text'>
Add a cmocka based unit test for the file BIO covering BIO_new_file,
BIO_new_fp and the file method callbacks, with stdio and openssl_fopen.

Additionally add a Windows-only Detours based side test for the
Windows specific branches.

Assisted-by: Claude:claude-fable-5

Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
Reviewed-by: Nikola Pajkovsky &lt;nikolap@openssl.org&gt;
Reviewed-by: Andrew Dinh &lt;andrewd@openssl.org&gt;
MergeDate: Sat Aug  8 15:26:34 2026
(Merged from https://github.com/openssl/openssl/pull/31991)
</content>
</entry>
<entry>
<title>test: add Windows unit tests setup and initial dgram test</title>
<updated>2026-07-15T16:00:29Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-06-11T17:05:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=857afd02b282314687bc1290d7d12a313d3b9f85'/>
<id>urn:sha1:857afd02b282314687bc1290d7d12a313d3b9f85</id>
<content type='text'>
This adds an initial setup for unit testing on Windows that allows
mocking of system functions using Detour library. This works only for
library functions and not object function like wrap so it is a bit
limited but it is still useful for BIO mocking.

An initial BIO bss_dgram test is added covering the Windows specific
parts.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Igor Ustinov &lt;igus@openssl.foundation&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Wed Jul 15 16:00:35 2026
(Merged from https://github.com/openssl/openssl/pull/31915)
</content>
</entry>
<entry>
<title>Add BIO bio_sock2 test</title>
<updated>2026-07-09T17:38:28Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-06-12T11:45:25Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=234845aaabbcfef5f58a00835f0383ceabe469b5'/>
<id>urn:sha1:234845aaabbcfef5f58a00835f0383ceabe469b5</id>
<content type='text'>
Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Thu Jul  9 17:39:25 2026
(Merged from https://github.com/openssl/openssl/pull/30788)
</content>
</entry>
<entry>
<title>Add BIO bio_sock test</title>
<updated>2026-07-09T17:38:28Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-06-12T09:53:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=207c40c97a1f502a39df260c8daf919de2fd9cb2'/>
<id>urn:sha1:207c40c97a1f502a39df260c8daf919de2fd9cb2</id>
<content type='text'>
Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Thu Jul  9 17:39:24 2026
(Merged from https://github.com/openssl/openssl/pull/30788)
</content>
</entry>
<entry>
<title>Add BIO bss_socket test</title>
<updated>2026-07-09T17:38:28Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-06-10T17:55:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=bd07dda47d150d7ce758c932ab50097ce0c65962'/>
<id>urn:sha1:bd07dda47d150d7ce758c932ab50097ce0c65962</id>
<content type='text'>
Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Thu Jul  9 17:39:22 2026
(Merged from https://github.com/openssl/openssl/pull/30788)
</content>
</entry>
<entry>
<title>Add BIO bss_dgram test</title>
<updated>2026-07-09T17:38:28Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-06-10T11:04:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b05333b7e9a47aec2fe4a28915be0497a7480c44'/>
<id>urn:sha1:b05333b7e9a47aec2fe4a28915be0497a7480c44</id>
<content type='text'>
Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Thu Jul  9 17:39:21 2026
(Merged from https://github.com/openssl/openssl/pull/30788)
</content>
</entry>
<entry>
<title>Add BIO bss_acpt test</title>
<updated>2026-07-09T17:38:28Z</updated>
<author>
<name>Jakub Zelenka</name>
<email>jakub.zelenka@openssl.foundation</email>
</author>
<published>2026-06-12T11:53:26Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=b69282a759b0ae83385c99a540be5ab2af069586'/>
<id>urn:sha1:b69282a759b0ae83385c99a540be5ab2af069586</id>
<content type='text'>
Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.foundation&gt;
MergeDate: Thu Jul  9 17:39:20 2026
(Merged from https://github.com/openssl/openssl/pull/30788)
</content>
</entry>
</feed>
