* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- virtual void setSslKey(const QByteArray &encoded);
- virtual void setSslCert(const QByteArray &encoded);
+ virtual void setSslKey(const QByteArray &encoded);
+ virtual void setSslCert(const QByteArray &encoded);
+#endif
- CoreIdentity(IdentityId id, QObject *parent = 0);
- CoreIdentity(const Identity &other, QObject *parent = 0);
- CoreIdentity(const CoreIdentity &other, QObject *parent = 0);
+ CoreIdentity(IdentityId id, QObject *parent = 0);
+ CoreIdentity(const Identity &other, QObject *parent = 0);
+ CoreIdentity(const CoreIdentity &other, QObject *parent = 0);
- inline const QSslKey &sslKey() const { return _sslKey; }
- inline void setSslKey(const QSslKey &key) { _sslKey = key; }
- void setSslKey(const QByteArray &encoded);
- inline const QSslCertificate &sslCert() const { return _sslCert; }
- inline void setSslCert(const QSslCertificate &cert) { _sslCert = cert; }
- void setSslCert(const QByteArray &encoded);
+#ifdef HAVE_SSL
+ inline const QSslKey &sslKey() const { return _sslKey; }
+ inline void setSslKey(const QSslKey &key) { _sslKey = key; }
+ void setSslKey(const QByteArray &encoded);
+ inline const QSslCertificate &sslCert() const { return _sslCert; }
+ inline void setSslCert(const QSslCertificate &cert) { _sslCert = cert; }
+ void setSslCert(const QByteArray &encoded);
+#endif /* HAVE_SSL */