mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
crypto/openssl/ec.cpp: typo fix.
This commit is contained in:
parent
8e7b132ca1
commit
985cab3f64
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ int ec_generate_key(struct ec_keypair *pair) {
|
|||
// Copy private key to binary format.
|
||||
EC_KEY_priv2oct(k, pair->secret.data(), EC_PRIVKEY_SIZE);
|
||||
|
||||
// Copy public key key
|
||||
// Copy public key
|
||||
EC_POINT_point2oct(EC_KEY_get0_group(k),
|
||||
EC_KEY_get0_public_key(k), POINT_CONVERSION_COMPRESSED,
|
||||
pair->pub.data(), EC_PUBKEY_SIZE, ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue