summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-11 23:13:23 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-11 23:13:23 +0200
commit09b8df5200de1c8c20ea2856a8c6aa76b0811bd1 (patch)
treee91d8f58a03671b70f5d1a30cfa6e3ca090ae690 /src/Common
parent781b6e65053cd1bd703ee1f254d93bc13648e21d (diff)
downloadmad-09b8df5200de1c8c20ea2856a8c6aa76b0811bd1.tar
mad-09b8df5200de1c8c20ea2856a8c6aa76b0811bd1.zip
Connection: Allow setting a receive limit
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;
};
}