<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/NetworkPkg/TlsDxe, 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-02-23T21:01:28+00:00</updated>
<entry>
<title>NetworkPkg: 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-03T19:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=58de02af29a72b58ddc68893ecaf0927682e4164'/>
<id>urn:sha1:58de02af29a72b58ddc68893ecaf0927682e4164</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.

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>NetworkPkg/TlsDxe: 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-09T09:15:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=41cde6e2e313382f6ec4078577ad3dfbbd0c743c'/>
<id>urn:sha1:41cde6e2e313382f6ec4078577ad3dfbbd0c743c</id>
<content type='text'>
Add Server Name Indication Support.

Signed-off-by: Kanagavel S &lt;kanagavels@ami.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d1050b9dff1cace252aff86630bfdb59dff5f507'/>
<id>urn:sha1:d1050b9dff1cace252aff86630bfdb59dff5f507</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the NetworkPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Change OPTIONAL keyword usage style</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2021-12-03T02:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8874fa199dd7be550f20e3fc78861022eb826728'/>
<id>urn:sha1:8874fa199dd7be550f20e3fc78861022eb826728</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760

Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Change use of EFI_D_* to DEBUG_*</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2021-11-17T03:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c49ca4a29ed6076bc2a8fc443130f98c0ed69eda'/>
<id>urn:sha1:c49ca4a29ed6076bc2a8fc443130f98c0ed69eda</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739

Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/Tls: Fix few typos</title>
<updated>2020-02-10T22:30:07+00:00</updated>
<author>
<name>Antoine Coeur</name>
<email>coeur@gmx.fr</email>
</author>
<published>2020-02-07T01:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=dad13c80678877a73f14e17df6f23bd8e5e15fe1'/>
<id>urn:sha1:dad13c80678877a73f14e17df6f23bd8e5e15fe1</id>
<content type='text'>
Fix few typos in comments and documentation.

Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Maciej Rabeda &lt;maciej.rabeda@intel.com&gt;
Signed-off-by: Antoine Coeur &lt;coeur@gmx.fr&gt;
Reviewed-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Reviewed-by: Maciej Rabeda &lt;maciej.rabeda@intel.com&gt;
Signed-off-by: Philippe Mathieu-Daude &lt;philmd@redhat.com&gt;
Message-Id: &lt;20200207010831.9046-50-philmd@redhat.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg/TlsDxe: Add the support of host validation to TlsDxe driver (CVE-2019-14553)</title>
<updated>2019-11-02T11:08:19+00:00</updated>
<author>
<name>Wu, Jiaxin</name>
<email>jiaxin.wu@intel.com</email>
</author>
<published>2019-09-27T03:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=703e7ab21ff8fda9ababf7751d59bd28ad5da947'/>
<id>urn:sha1:703e7ab21ff8fda9ababf7751d59bd28ad5da947</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=960
CVE: CVE-2019-14553
The new data type named "EfiTlsVerifyHost" and the
EFI_TLS_VERIFY_HOST_FLAG are supported in TLS protocol.

Signed-off-by: Wu Jiaxin &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Ye Ting &lt;ting.ye@intel.com&gt;
Reviewed-by: Long Qin &lt;qin.long@intel.com&gt;
Reviewed-by: Fu Siyuan &lt;siyuan.fu@intel.com&gt;
Acked-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
Message-Id: &lt;20190927034441.3096-4-Jiaxin.wu@intel.com&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Cc: Sivaraman Nainar &lt;sivaramann@amiindia.co.in&gt;
Cc: Xiaoyu Lu &lt;xiaoyux.lu@intel.com&gt;
Signed-off-by: Laszlo Ersek &lt;lersek@redhat.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Remove unnecessary MdeModulePkg/MdeModulePkg.dec dependency in INF</title>
<updated>2019-10-08T01:20:34+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2019-09-17T02:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0b73027eb152a509fb5cd5fd1118ad1985ed886e'/>
<id>urn:sha1:0b73027eb152a509fb5cd5fd1118ad1985ed886e</id>
<content type='text'>
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Move Network library header file from MdeModulePkg to NetworkPkg</title>
<updated>2019-05-27T01:25:18+00:00</updated>
<author>
<name>Liming Gao</name>
<email>liming.gao@intel.com</email>
</author>
<published>2019-05-15T12:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=07135c12205805fa0ffcc0d0f347c3d4de37188b'/>
<id>urn:sha1:07135c12205805fa0ffcc0d0f347c3d4de37188b</id>
<content type='text'>
Signed-off-by: Liming Gao &lt;liming.gao@intel.com&gt;
Cc: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
Cc: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Jiaxin Wu &lt;jiaxin.wu@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
<entry>
<title>NetworkPkg: Replace BSD License with BSD+Patent License</title>
<updated>2019-04-09T17:58:15+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2019-04-03T23:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ecf98fbcf858b9cb09ff0ac1c2a09c0111b4026b'/>
<id>urn:sha1:ecf98fbcf858b9cb09ff0ac1c2a09c0111b4026b</id>
<content type='text'>
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Reviewed-by: Siyuan Fu &lt;siyuan.fu@intel.com&gt;
</content>
</entry>
</feed>
