..
Diff: TLSSocketWrapper.h
- Revision:
- 1:a6995e66c9f7
- Parent:
- 0:5f745af3ec9b
--- a/TLSSocketWrapper.h Fri Aug 23 13:29:35 2019 +0000 +++ b/TLSSocketWrapper.h Thu Aug 29 06:43:11 2019 +0000 @@ -28,6 +28,8 @@ #include "mbedtls/timing.h" #include <Timer.h> +static RawSerial pc(USBTX, USBRX); // tx, rx + //#include "timing_alt.h" /** * \brief TLSSocket a wrapper around Socket for interacting with TLS servers @@ -85,7 +87,8 @@ */ nsapi_error_t set_client_cert_key(const char *client_cert_pem, const char *client_private_key_pem); - int set_client_kpsa_kpsaID_cipher(); + int set_client1_kpsa_kpsaID_cipher(); + int set_client2_kpsa_kpsaID_cipher(); /** Initiates TLS Handshake * * Initiates a TLS hanshake to a remote speer