-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: maintenance+cleanup+fix (#252)
* ci: use latest Go 1.21 build Use `1.21.x` instead of `1.21.0` to automatically select the latest. * fix: remove unused fipsonly package Remove an unused package that was unintendedly introduced as a conditional dependency of upstream * update: use boring package not global var Align with the upstream to use `boring` as a name for a package. No functional changes. * 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.
- Loading branch information
Showing
7 changed files
with
30 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package boring | ||
|
||
import ( | ||
"crypto/cipher" | ||
"errors" | ||
) | ||
|
||
const Enabled bool = false | ||
|
||
func NewGCMTLS(_ cipher.Block) (cipher.AEAD, error) { | ||
return nil, errors.New("boring not implemented") | ||
} | ||
|
||
func Unreachable() { | ||
// do nothing | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |