I receive the following build error with g++ (Debian 10.2.1-6) 10.2.1 20210110 on the main branch
In file included from build/include/botan/ec_group.h:13,
from build/include/botan/ecc_key.h:13,
from src/lib/ffi/ffi_pkey_algs.cpp:23:
build/include/botan/ec_point.h:36:13: error: expected nested-name-specifier before ‘enum’
36 | using enum EC_Point_Format;
| ^~~~
This is the patch that fixes it:
diff --git a/src/lib/pubkey/ec_group/ec_point.h b/src/lib/pubkey/ec_group/ec_point.h
index 7033cb20a..e51da9832 100644
--- a/src/lib/pubkey/ec_group/ec_point.h
+++ b/src/lib/pubkey/ec_group/ec_point.h
@@ -33,7 +33,6 @@ class BOTAN_PUBLIC_API(2,0) EC_Point final
{
public:
typedef EC_Point_Format Compression_Type;
- using enum EC_Point_Format;
enum { WORKSPACE_SIZE = 8 };
I receive the following build error with
g++ (Debian 10.2.1-6) 10.2.1 20210110on the main branchThis is the patch that fixes it: