Skip to content

Commit

Permalink
fix bug in selecting signature scheme (DNAProject#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlverLyu authored and laizy committed Jun 20, 2018
1 parent 08439e4 commit d19481a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ var schemeMap = map[string]schemeInfo{
"1": {"SHA224withECDSA", s.SHA224withECDSA},
"2": {"SHA256withECDSA", s.SHA256withECDSA},
"3": {"SHA384withECDSA", s.SHA384withECDSA},
"4": {"SHA512withEdDSA", s.SHA512withEDDSA},
"4": {"SHA512withECDSA", s.SHA512withECDSA},
"5": {"SHA3-224withECDSA", s.SHA3_224withECDSA},
"6": {"SHA3-256withECDSA", s.SHA3_256withECDSA},
"7": {"SHA3-384withECDSA", s.SHA3_384withECDSA},
Expand All @@ -93,7 +93,7 @@ var schemeMap = map[string]schemeInfo{
"SHA224withECDSA": {"SHA224withECDSA", s.SHA224withECDSA},
"SHA256withECDSA": {"SHA256withECDSA", s.SHA256withECDSA},
"SHA384withECDSA": {"SHA384withECDSA", s.SHA384withECDSA},
"SHA512withEdDSA": {"SHA512withEdDSA", s.SHA512withEDDSA},
"SHA512withECDSA": {"SHA512withECDSA", s.SHA512withECDSA},
"SHA3-224withECDSA": {"SHA3-224withECDSA", s.SHA3_224withECDSA},
"SHA3-256withECDSA": {"SHA3-256withECDSA", s.SHA3_256withECDSA},
"SHA3-384withECDSA": {"SHA3-384withECDSA", s.SHA3_384withECDSA},
Expand Down

0 comments on commit d19481a

Please sign in to comment.