diff options
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r-- | src/lib/pubkey/ecc_key/ecc_key.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/ecc_key/ecc_key.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ecc_key/ecc_key.cpp b/src/lib/pubkey/ecc_key/ecc_key.cpp index 5f752fe5b..7b00d3209 100644 --- a/src/lib/pubkey/ecc_key/ecc_key.cpp +++ b/src/lib/pubkey/ecc_key/ecc_key.cpp @@ -68,7 +68,7 @@ AlgorithmIdentifier EC_PublicKey::algorithm_identifier() const std::vector<uint8_t> EC_PublicKey::public_key_bits() const { - return public_point().encode(point_format()); + return public_point().encode(point_encoding()); } void EC_PublicKey::set_point_encoding(PointGFp::Compression_Type enc) diff --git a/src/lib/pubkey/ecc_key/ecc_key.h b/src/lib/pubkey/ecc_key/ecc_key.h index 4e4e623b2..ec2b5f9be 100644 --- a/src/lib/pubkey/ecc_key/ecc_key.h +++ b/src/lib/pubkey/ecc_key/ecc_key.h @@ -101,7 +101,7 @@ class BOTAN_PUBLIC_API(2,0) EC_PublicKey : public virtual Public_Key * Get the point encoding method to be used when encoding this key. * @result the encoding to use */ - PointGFp::Compression_Type point_format() const + PointGFp::Compression_Type point_encoding() const { return m_point_encoding; } size_t key_length() const override; |