diff options
author | Unknwon <u@gogs.io> | 2017-03-01 21:33:58 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-01 21:33:58 -0500 |
commit | 600f748cb0a77370bb5533ed38c01e40fbcf11bb (patch) | |
tree | 926360afed004b146fd0b5b568163f694dd49c8f /vendor/golang.org/x/crypto/ssh/keys.go | |
parent | 038b107c3d6437f7ac4d7e22e574c583b546f132 (diff) |
vendor: update golang.org/x/crypto/ssh
Related to #4160
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/keys.go')
-rw-r--r-- | vendor/golang.org/x/crypto/ssh/keys.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/keys.go b/vendor/golang.org/x/crypto/ssh/keys.go index 21f7d0d2..f38de989 100644 --- a/vendor/golang.org/x/crypto/ssh/keys.go +++ b/vendor/golang.org/x/crypto/ssh/keys.go @@ -798,8 +798,8 @@ func ParseDSAPrivateKey(der []byte) (*dsa.PrivateKey, error) { P *big.Int Q *big.Int G *big.Int - Priv *big.Int Pub *big.Int + Priv *big.Int } rest, err := asn1.Unmarshal(der, &k) if err != nil { @@ -816,9 +816,9 @@ func ParseDSAPrivateKey(der []byte) (*dsa.PrivateKey, error) { Q: k.Q, G: k.G, }, - Y: k.Priv, + Y: k.Pub, }, - X: k.Pub, + X: k.Priv, }, nil } |