diff --git a/dtls/client-dtls-nonblocking.c b/dtls/client-dtls-nonblocking.c index 2cad1777..e218505e 100644 --- a/dtls/client-dtls-nonblocking.c +++ b/dtls/client-dtls-nonblocking.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -122,7 +123,6 @@ int main (int argc, char** argv) CYASSL_CTX* ctx = 0; CYASSL* sslResume = 0; CYASSL_SESSION* session = 0; - int resumeSession = 0; char cert_array[] = "../cyassl/certs/ca-cert.pem"; char* certs = cert_array; char* srTest = "testing session resume"; diff --git a/dtls/client-dtls-resume.c b/dtls/client-dtls-resume.c index f384a675..99cf6a1e 100644 --- a/dtls/client-dtls-resume.c +++ b/dtls/client-dtls-resume.c @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/dtls/client-dtls.c b/dtls/client-dtls.c index 9991c7c4..a6243387 100644 --- a/dtls/client-dtls.c +++ b/dtls/client-dtls.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -16,7 +17,7 @@ void DatagramClient (CYASSL* ssl) { int n = 0; - char m, sendLine[MAXLINE], recvLine[MAXLINE - 1]; + char sendLine[MAXLINE], recvLine[MAXLINE - 1]; while (fgets(sendLine, MAXLINE, stdin) != NULL) {