go.crypto/ssh: remove misleading marshalPrivRSA.

Properly capitalize publicKey throughout.

R=golang-dev
CC=agl, dave, golang-dev, jpsugar
https://golang.org/cl/13415046
This commit is contained in:
Han-Wen Nienhuys
2013-09-05 11:36:51 -04:00
committed by Adam Langley
parent 58b09dec0e
commit f17d130281
7 changed files with 13 additions and 28 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ func (s *ServerConfig) SetRSAPrivateKey(pemBytes []byte) error {
return err
}
s.rsaSerialized = marshalPrivRSA(s.rsa)
s.rsaSerialized = serializePublicKey(&s.rsa.PublicKey)
return nil
}