aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-02-25 19:58:46 -0500
committerJack Lloyd <[email protected]>2018-02-25 19:58:46 -0500
commite479bae1d4b66e0984ce7791370e95aa69c4e3f6 (patch)
tree39caa4f4e96e70e2a22338d421a32a4a2a5e299a /src/cli
parent2f35ef0bf9d135bf42434f249df0b21b699110be (diff)
Add functions to EC_Group for getting base point coordinates
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/pubkey.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli/pubkey.cpp b/src/cli/pubkey.cpp
index a2aded02b..3c84829d8 100644
--- a/src/cli/pubkey.cpp
+++ b/src/cli/pubkey.cpp
@@ -344,8 +344,7 @@ class EC_Group_Info final : public Command
output() << "P = " << std::hex << group.get_p() << "\n"
<< "A = " << std::hex << group.get_a() << "\n"
<< "B = " << std::hex << group.get_b() << "\n"
- << "G = " << group.get_base_point().get_affine_x() << ","
- << group.get_base_point().get_affine_y() << "\n";
+ << "G = " << group.get_g_x() << "," << group.get_g_y() << "\n";
}
}