mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-12 05:37:32 +00:00
wgengine/magicsock: remove uses of tailcfg.DiscoKey.
Updates #3206 Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -92,6 +92,14 @@ func (k DiscoPublic) IsZero() bool {
|
||||
return k == DiscoPublic{}
|
||||
}
|
||||
|
||||
// Raw32 returns k encoded as 32 raw bytes.
|
||||
//
|
||||
// Deprecated: only needed for a temporary compat shim in tailcfg, do
|
||||
// not add more uses.
|
||||
func (k DiscoPublic) Raw32() [32]byte {
|
||||
return k.k
|
||||
}
|
||||
|
||||
// ShortString returns the Tailscale conventional debug representation
|
||||
// of a disco key.
|
||||
func (k DiscoPublic) ShortString() string {
|
||||
|
Reference in New Issue
Block a user