aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/pkcs8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/pkcs8.h')
-rw-r--r--src/lib/pubkey/pkcs8.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/pubkey/pkcs8.h b/src/lib/pubkey/pkcs8.h
index c97fda0e3..0bc9a18f1 100644
--- a/src/lib/pubkey/pkcs8.h
+++ b/src/lib/pubkey/pkcs8.h
@@ -23,10 +23,11 @@ class RandomNumberGenerator;
/**
* PKCS #8 General Exception
*/
-struct BOTAN_PUBLIC_API(2,0) PKCS8_Exception final : public Decoding_Error
+class BOTAN_PUBLIC_API(2,0) PKCS8_Exception final : public Decoding_Error
{
- explicit PKCS8_Exception(const std::string& error) :
- Decoding_Error("PKCS #8: " + error) {}
+ public:
+ explicit PKCS8_Exception(const std::string& error) :
+ Decoding_Error("PKCS #8: " + error) {}
};
/**