-CoreIdentity::CoreIdentity(const CoreIdentity &other, QObject *parent)
- : Identity(other, parent),
- _sslKey(other._sslKey),
- _sslCert(other._sslCert),
- _certManager(*this)
+CoreIdentity::CoreIdentity(const CoreIdentity& other, QObject* parent)
+ : Identity(other, parent)
+#ifdef HAVE_SSL
+ , _sslKey(other._sslKey)
+ , _sslCert(other._sslCert)
+ , _certManager(this)
+#endif