diff options
| author | Doug Hogan <[email protected]> | 2019-01-03 18:32:08 -0800 |
|---|---|---|
| committer | Doug Hogan <[email protected]> | 2019-01-08 00:08:22 -0800 |
| commit | e8813319d24ed1f8200b09969b015fb2311967f9 (patch) | |
| tree | e895b9b294b25059bf102bfa6cc2965f9afa6fef /lib/crypto/c_src/eddsa.c | |
| parent | 10665143d538b0ed344d172655e174713da3a336 (diff) | |
| download | otp-e8813319d24ed1f8200b09969b015fb2311967f9.tar.gz otp-e8813319d24ed1f8200b09969b015fb2311967f9.tar.bz2 otp-e8813319d24ed1f8200b09969b015fb2311967f9.zip | |
Revamp ecdh_compute_key_nif()
* Bug fix: ECDH_compute_key was not being checked for failures
- That function returns 0 on failure and never returns < 0.
- Using <= 0 check because OpenSSL uses that internally and on their wiki.
* Remove unnecessary variable i
* Make the gotos always flow downward rather than jumping back.
Diffstat (limited to 'lib/crypto/c_src/eddsa.c')
0 files changed, 0 insertions, 0 deletions
