diff --git a/key.h b/key.h index 7b83b8bc8e..720dbef921 100644 --- a/key.h +++ b/key.h @@ -13,6 +13,8 @@ #include #include +#include + #include "SecureAllocator.h" #include "NewcoinAddress.h" #include "uint256.h" @@ -85,6 +87,8 @@ protected: bool fSet; public: + typedef boost::shared_ptr pointer; + CKey() { pkey = EC_KEY_new_by_curve_name(NID_secp256k1);