Kaynağa Gözat

Fix: comment typo

Rod Hynes 7 yıl önce
ebeveyn
işleme
ef4c928794
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      psiphon/common/protocol/protocol.go

+ 1 - 1
psiphon/common/protocol/protocol.go

@@ -325,7 +325,7 @@ type RandomStreamRequest struct {
 func DeriveSSHServerKEXPRNGSeed(obfuscatedKey string) (*prng.Seed, error) {
 	// By convention, the obfuscatedKey will often be a hex-encoded 32 byte value,
 	// but this isn't strictly required or validated, so we use SHA256 to map the
-	// obfuscatedKey to tne necessary 32-byte seed value.
+	// obfuscatedKey to the necessary 32-byte seed value.
 	seed := prng.Seed(sha256.Sum256([]byte(obfuscatedKey)))
 	return prng.NewSaltedSeed(&seed, "ssh-server-kex")
 }