summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/ClientConnection.cpp14
-rw-r--r--src/Common/ClientConnection.h3
2 files changed, 0 insertions, 17 deletions
diff --git a/src/Common/ClientConnection.cpp b/src/Common/ClientConnection.cpp
index 02abcd1..db6efb2 100644
--- a/src/Common/ClientConnection.cpp
+++ b/src/Common/ClientConnection.cpp
@@ -62,19 +62,5 @@ bool ClientConnection::disconnect() {
return true;
}
-/*void* ClientConnection::getCertificate(size_t *size) const {
- const gnutls_datum_t *cert = connection->getCertificate();
-
- *size = cert->size;
- return cert->data;
-}
-
-void* ClientConnection::getPeerCertificate(size_t *size) const {
- const gnutls_datum_t *cert = connection->getPeerCertificate();
-
- *size = cert->size;
- return cert->data;
-}*/
-
}
}
diff --git a/src/Common/ClientConnection.h b/src/Common/ClientConnection.h
index 302c938..c521a5a 100644
--- a/src/Common/ClientConnection.h
+++ b/src/Common/ClientConnection.h
@@ -59,9 +59,6 @@ class MAD_COMMON_EXPORT ClientConnection : public Connection {
virtual bool isAuthenticated() const {
return true;
}
-
- //virtual void* getCertificate(size_t *size) const;
- //virtual void* getPeerCertificate(size_t *size) const;
};
}