use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Revision:
49:c603a22495bb
Parent:
38:bb6d2be4d54c
Child:
54:dfee8691c83a
--- a/source/Options.cpp	Mon Jun 20 20:09:44 2016 +0000
+++ b/source/Options.cpp	Thu Jun 23 22:26:15 2016 +0000
@@ -161,7 +161,7 @@
 
 // Get the Server Certificate
 uint8_t *Options::getServerCertificate() {
-	return (uint8_t *) this->m_server_cert;
+	return this->m_server_cert;
 }
 
 // Get the Server Certificate length
@@ -171,7 +171,7 @@
 
 // Get the Client Certificate
 uint8_t *Options::getClientCertificate() {
-	return (uint8_t *) this->m_client_cert;
+	return this->m_client_cert;
 }
 
 // Get the Client Certificate length
@@ -181,7 +181,7 @@
 
 // Get the Client Key
 uint8_t *Options::getClientKey() {
-	return (uint8_t *) this->m_client_key;
+	return this->m_client_key;
 }
 
 // Get the Client Key length