good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 1a32bdf9 authored by Felix Lange's avatar Felix Lange Committed by GitHub
Browse files

crypto: fix error check in toECDSA (#15632)

With this change,

    key, err := crypto.HexToECDSA("000000...")
    
returns nil key and an error instead of a non-nil key with nil X
and Y inside. Issue found by @guidovranken.
parent 2499b1b1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment