From f7d8207597a7e447fb128876b09b87982ab298b8 Mon Sep 17 00:00:00 2001 From: Kaleb Himes Date: Thu, 5 Jun 2014 15:21:39 -0600 Subject: [PATCH] ready for publishing --- project1/dtls_secured_nonblocking/server-dtls-nonblocking.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project1/dtls_secured_nonblocking/server-dtls-nonblocking.c b/project1/dtls_secured_nonblocking/server-dtls-nonblocking.c index 19988a2e..38d8c8a4 100644 --- a/project1/dtls_secured_nonblocking/server-dtls-nonblocking.c +++ b/project1/dtls_secured_nonblocking/server-dtls-nonblocking.c @@ -118,7 +118,7 @@ void AwaitDGram() clientfd = udp_read_connect(listenfd); /* Create the CYASSL Object */ - if (( ssl = CyaSSL_new(ctx) ) == NULL) { + if (( ssl = CyaSSL_new(ctx)) == NULL) { printf("CyaSSL_new error.\n"); cleanup = 1; } @@ -307,7 +307,7 @@ int main(int argc, char** argv) CyaSSL_Init(); /* Initialize CyaSSL */ /* Set ctx to DTLS 1.2 */ - if ( (ctx = CyaSSL_CTX_new(CyaDTLSv1_2_server_method())) == NULL) { + if ((ctx = CyaSSL_CTX_new(CyaDTLSv1_2_server_method())) == NULL) { fprintf(stderr, "CyaSSL_CTX_new error.\n"); exit(EXIT_FAILURE); }