aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/ec_gfp/point_gfp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/ec_gfp/point_gfp.cpp')
-rw-r--r--src/math/ec_gfp/point_gfp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/ec_gfp/point_gfp.cpp b/src/math/ec_gfp/point_gfp.cpp
index ec6fed4a1..599b6e842 100644
--- a/src/math/ec_gfp/point_gfp.cpp
+++ b/src/math/ec_gfp/point_gfp.cpp
@@ -591,7 +591,7 @@ PointGFp OS2ECP(const byte data[], size_t data_len,
throw Illegal_Point("OS2ECP: Decoding error in hybrid format");
}
else
- throw Invalid_Argument("OS2ECP: Unknown format type");
+ throw Invalid_Argument("OS2ECP: Unknown format type " + std::to_string(pc));
PointGFp result(curve, x, y);