Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 3048 → Rev 3049

/branches/STF525/ccsrc/Protocols/Security/security_services.hh
37,8 → 37,11
*/
static security_services* instance;
std::unique_ptr<ec_keys> _ec_keys;
std::unique_ptr<security_cache> _security_cache;
std::unique_ptr<security_db> _security_db;
unsigned long long _last_generation_time;
std::vector<unsigned char> _unknown_certificate;
/*!
* \brief Default private ctor
*/
47,12 → 50,13
* \brief Default private dtor
*/
~security_services() {
_ec_keys.reset(nullptr);
_security_db.reset(nullptr);
_security_cache.reset(nullptr);
if (instance != NULL) {
delete instance;
instance = NULL;
}
_ec_keys.reset(nullptr);
_security_db.reset(nullptr);
};
public: /*! \publicsection */