<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/CryptoPkg/Library/TlsLib, branch dependabot/github_actions/actions/setup-python-7</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-python-7'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-06-24T14:49:50+00:00</updated>
<entry>
<title>CryptoPkg: TlsLib: Fix uninitialized variable warnings</title>
<updated>2026-06-24T14:49:50+00:00</updated>
<author>
<name>Tuan Phan</name>
<email>tuan.phan@oss.qualcomm.com</email>
</author>
<published>2026-01-25T23:29:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=798a16c520da264a38e0e030a16ac052b6bd6463'/>
<id>urn:sha1:798a16c520da264a38e0e030a16ac052b6bd6463</id>
<content type='text'>
In TlsSetCipherList(), the OpensslCipher variable is initialized inside an
inner loop but accessed outside of that loop, which can lead to
uninitialized variable warnings.

Fix this issue by moving all accesses to OpensslCipher into the inner loop
where it is initialized.

Signed-off-by: Tuan Phan &lt;tuan.phan@oss.qualcomm.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Log TLS handshake certificate verification error reason</title>
<updated>2026-06-15T04:47:25+00:00</updated>
<author>
<name>Jean-Tiare Le Bigot</name>
<email>jt@yadutaf.fr</email>
</author>
<published>2026-06-12T19:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=92b2428c063a21f1442b0bc387c8e310d4651bff'/>
<id>urn:sha1:92b2428c063a21f1442b0bc387c8e310d4651bff</id>
<content type='text'>
When the TLS error is `SSL_R_CERTIFICATE_VERIFY_FAILED`, the
verification failure reason is reported by `SSL_get_verify_result`.

Adding this reason to the debug logs is valuable to pin-point
certificate rejection that are specific to EDK II.

Signed-off-by: Jean-Tiare Le Bigot &lt;jt@yadutaf.fr&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Replace include guards with #pragma once</title>
<updated>2026-02-23T21:01:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-02-03T17:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0f42cae11c06187ef72f34cfabdca200346ef660'/>
<id>urn:sha1:0f42cae11c06187ef72f34cfabdca200346ef660</id>
<content type='text'>
Replace traditional `#ifndef`/`#define`/`#endif` include guards with
`#pragma` once.

`#pragma once` is a widely supported preprocessor directive that
prevents header files from being included multiple times. It is
supported by all toolchains used to build edk2: GCC, Clang/LLVM, and
MSVC.

Does not include updates to OpenSSL generated header files checked
into the repo. Those in `CryptoPkg\Library\OpensslLib\OpensslGen\`.

Compared to macro-based include guards, `#pragma once`:

- Eliminates the risk of macro name collisions or copy/paste errors
  where two headers inadvertently use the same guard macro.
- Eliminate inconsistency in the way include guard macros are named
  (e.g., some files use `__FILE_H__`, others use `FILE_H_`, etc.).
- Reduces boilerplate (three lines replaced by one).
- Avoids polluting the macro namespace with guard symbols.
- Can improve build times as the preprocessor can skip re-opening the
  file entirely, rather than re-reading it to find the matching
  `#endif` ("multiple-include optimization").
  - Note that some compilers may already optimize traditional include
    guards, by recognzining the idiomatic pattern.

This change is made acknowledging that overall portability of the
code will technically be reduced, as `#pragma once` is not part of the
C/C++ standards.

However, this is considered acceptable given:

1. edk2 already defines a subset of supported compilers in
   BaseTools/Conf/tools_def.template, all of which have supported
   `#pragma once` for over two decades.
2. There have been concerns raised to the project about inconsistent
   include guard naming and potential macro collisions.

Approximate compiler support dates:

- MSVC: Supported since Visual C++ 4.2 (1996)
- GCC: Supported since 3.4 (2004)
  (http://gnu.ist.utl.pt/software/gcc/gcc-3.4/changes.html)
- Clang (LLVM based): Since initial release in 2007

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Fix coverity warnings in CryptoPkg.</title>
<updated>2025-10-27T03:14:56+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagvaels@ami.com</email>
</author>
<published>2025-10-22T13:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a074649c6096d6dd36d03db5a55316d129e776b5'/>
<id>urn:sha1:a074649c6096d6dd36d03db5a55316d129e776b5</id>
<content type='text'>
Fix the coverity warnings reported in the CryptoPkg.

Signed-off-by: Kanagavel S &lt;kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Drop ARM32 Support</title>
<updated>2025-09-25T22:04:10+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-09-15T15:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2ba9441e0b2222d81a186c0742e98c3196371303'/>
<id>urn:sha1:2ba9441e0b2222d81a186c0742e98c3196371303</id>
<content type='text'>
edk2 is dropping support for the ARM32 architecture. This
commit removes ARM32 code from CryptoPkg. This also drops
irrelevant VALID_ARCHITECTURES comments from infs that are
not arch specific.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add support to set TLS security level.</title>
<updated>2025-09-23T03:08:14+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagvaels@ami.com</email>
</author>
<published>2025-09-19T14:41:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=fb43f0c085045771bc2dee2f867d87298de2facb'/>
<id>urn:sha1:fb43f0c085045771bc2dee2f867d87298de2facb</id>
<content type='text'>
Add Edkiicrypto protocol API to set TLS set security level.

Signed-off-by: Kanagavel S &lt;kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add SNI support</title>
<updated>2025-09-04T08:32:34+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagavels@ami.com</email>
</author>
<published>2025-07-09T11:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1dacf4c40825e184f08be4d3041dc9e2be4d3c5c'/>
<id>urn:sha1:1dacf4c40825e184f08be4d3041dc9e2be4d3c5c</id>
<content type='text'>
Add Server Name Indication support.

Signed-off-by: Kanagavel S &lt;Kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Enable the time check flag.</title>
<updated>2025-07-05T14:23:01+00:00</updated>
<author>
<name>INDIA\kanagavels</name>
<email>kanagavels@ami.com</email>
</author>
<published>2025-07-02T15:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f920354f92f273c9add0617c80bd75e9902abe48'/>
<id>urn:sha1:f920354f92f273c9add0617c80bd75e9902abe48</id>
<content type='text'>
REF:https://github.com/tianocore/edk2/issues/11245

Enable the time check flag to verify the current time during the TLS
certificate validation.

Signed-off-by: Kanagavel S &lt;kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Extend TLS handshake debug output</title>
<updated>2024-06-25T23:18:36+00:00</updated>
<author>
<name>Sebastian Witt</name>
<email>sebastian.witt@siemens.com</email>
</author>
<published>2024-06-06T14:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=dc93ff8a5561a3085eeda9d4ac00d40545eb43cd'/>
<id>urn:sha1:dc93ff8a5561a3085eeda9d4ac00d40545eb43cd</id>
<content type='text'>
The error codes during TLS handshake errors are sometimes
not enough to understand the root cause of the problem.
Extending the debug output by the function and optional data helps
in some cases.

Signed-off-by: Sebastian Witt &lt;sebastian.witt@siemens.com&gt;
</content>
</entry>
<entry>
<title>CryptoPkg: Add SNI extension to TLS ClientHello</title>
<updated>2024-06-25T21:46:50+00:00</updated>
<author>
<name>Sebastian Witt</name>
<email>sebastian.witt@siemens.com</email>
</author>
<published>2024-06-04T12:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=84d8eb08e15e455826ef66a4b1f1f61758cb9aba'/>
<id>urn:sha1:84d8eb08e15e455826ef66a4b1f1f61758cb9aba</id>
<content type='text'>
Webservers hosting multiple websites require the TLS SNI
(Server Name Indication) in the ClientHello to know which certificate
to return.
The current TLS code does not include the server name in the
ClientHello handshake, which leads to failed HTTPS boots when the
server does not return the correct certificate.

This sets the host name for SNI in TlsSetVerifyHost which receives the
host name also for verification against the certificates.

Signed-off-by: Sebastian Witt &lt;sebastian.witt@siemens.com&gt;
</content>
</entry>
</feed>
