This commit is contained in:
Moisés Guimarães
2014-12-22 12:17:11 -03:00
parent 64b456df59
commit 98cefa88c4

View File

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