forked from wolfSSL/wolfssl
Code review changes. Reviewer: Chris.
This commit is contained in:
@ -3807,12 +3807,12 @@ static int test_wc_IdeaSetIV (void)
|
|||||||
/* Test bad args. */
|
/* Test bad args. */
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
ret = wc_IdeaSetIV(NULL, NULL);
|
ret = wc_IdeaSetIV(NULL, NULL);
|
||||||
}
|
|
||||||
if (ret == BAD_FUNC_ARG) {
|
if (ret == BAD_FUNC_ARG) {
|
||||||
ret = 0;
|
ret = 0;
|
||||||
} else {
|
} else {
|
||||||
ret = SSL_FATAL_ERROR;
|
ret = SSL_FATAL_ERROR;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
printf(resultFmt, ret == 0 ? passed : failed);
|
printf(resultFmt, ret == 0 ? passed : failed);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user