diff options
author | Jack Lloyd <[email protected]> | 2016-11-19 05:32:28 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-19 05:32:28 -0500 |
commit | 9a4a639fa3586a5ec10444d0fc26049bd9c3b707 (patch) | |
tree | 01941939e4b5c722e2805866d4c9e222d44b9250 /src/lib/pubkey/cecpq1/cecpq1.h | |
parent | 6fec14d11e0abf4bacef2b9f7e1bbe82ce4eed94 (diff) |
Fix class vs struct declaration.
Recent Clang complains about forward decl as 'class X' when X was
actually declared as a struct.
Diffstat (limited to 'src/lib/pubkey/cecpq1/cecpq1.h')
-rw-r--r-- | src/lib/pubkey/cecpq1/cecpq1.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/pubkey/cecpq1/cecpq1.h b/src/lib/pubkey/cecpq1/cecpq1.h index 0bda0dd02..9fe0b04ae 100644 --- a/src/lib/pubkey/cecpq1/cecpq1.h +++ b/src/lib/pubkey/cecpq1/cecpq1.h @@ -13,10 +13,12 @@ namespace Botan { -struct CECPQ1_key { - secure_vector<uint8_t> m_x25519; - newhope_poly m_newhope; -}; +class CECPQ1_key + { + public: + secure_vector<uint8_t> m_x25519; + newhope_poly m_newhope; + }; void BOTAN_DLL CECPQ1_offer(uint8_t* offer_message, CECPQ1_key* offer_key_output, |