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:
committed by
Adam Langley
parent
58b09dec0e
commit
f17d130281
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user