commit | d5c5f1769f2fcd2377be6f29863081f59a4fc80f | [log] [tgz] |
---|---|---|
author | Matt Bostock <matt@mattbostock.com> | Sun Aug 16 22:25:54 2015 +0100 |
committer | Adam Langley <agl@golang.org> | Sat Aug 29 22:25:31 2015 +0000 |
tree | 3acd7facc09d78bc74726a5f9b88369ba737a7aa | |
parent | 2b8f0970a83ce6f266cd18578145d1d6183fa24a [diff] |
crypto/ssh: Parse ECDSA key using struct Change parseECDSA() to unmarshal the key's contents into a struct representing the wire format, consistent with the parseRSA() and parseDSA(), to make the code more readable and its intent clearer. Change-Id: Iea85630107ac0b3e681807d2278390c8c50ce141 Reviewed-on: https://go-review.googlesource.com/13663 Reviewed-by: Han-Wen Nienhuys <hanwenn@gmail.com> Reviewed-by: Adam Langley <agl@golang.org>