ready for publishing

pull/1/head
Kaleb Himes 2014-06-05 15:21:39 -06:00
parent c5ea88e69a
commit f7d8207597
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}