From b4873b0030be6f109ffd6e7e40d3bce71cd58d6a Mon Sep 17 00:00:00 2001 From: Gaukas Wang Date: Mon, 9 Oct 2023 20:56:51 -0600 Subject: [PATCH] new: name aliasing Create u_alias.go to hold any alias names created by version upgrades or other necessary changes (e.g., upstream breaking change) to prevent further breaking the API. --- u_alias.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 u_alias.go diff --git a/u_alias.go b/u_alias.go new file mode 100644 index 00000000..af579c2e --- /dev/null +++ b/u_alias.go @@ -0,0 +1,12 @@ +package tls + +// This file contains all the alias functions, symbols, names, etc. that +// was once used in the old version of the library. This is to ensure +// backwards compatibility with the old version of the library. + +// TLS Extensions + +// UtlsExtendedMasterSecretExtension is an alias for ExtendedMasterSecretExtension. +// +// Deprecated: Use ExtendedMasterSecretExtension instead. +type UtlsExtendedMasterSecretExtension = ExtendedMasterSecretExtension