From 98cefa88c4a30b44847db5e0a30c3497a1f92c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moise=CC=81s=20Guimara=CC=83es?= Date: Mon, 22 Dec 2014 12:17:11 -0300 Subject: [PATCH] Fixes #136 --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 5a717e43e..aa959c07e 100644 --- a/src/internal.c +++ b/src/internal.c @@ -12281,7 +12281,7 @@ int DoSessionTicket(CYASSL* ssl, ERROR_OUT(MEMORY_E, done_b); #endif - if ((ret = InitSha(sha) != 0)) + if ((ret = InitSha(sha)) != 0) goto done_b; ShaUpdate(sha, ssl->arrays->clientRandom, RAN_LEN);