Skip to content

Commit

Permalink
new: name aliasing
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gaukas committed Oct 10, 2023
1 parent ef75789 commit b4873b0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions u_alias.go
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b4873b0

Please sign in to comment.