| Index: testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
|
| diff --git a/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c b/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
|
| index e1d0ac3d5d1baeafb2994849ecb56e4303f4e034..ff84d2717fd3ffb300652c38f019279080bd8f1a 100644
|
| --- a/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
|
| +++ b/testsuite/tcg/transport/Tspi_NV_ReadValue-trans02.c
|
| @@ -279,9 +279,9 @@ main_v1_2(char version)
|
| #endif
|
|
|
| #ifdef NV_LOCKED
|
| - if (TSS_ERROR_CODE(result)== TPM_E_AUTH_CONFLICT)
|
| + if (TSS_ERROR_CODE(result) != TPM_E_AUTH_CONFLICT)
|
| #else
|
| - if (result== TSS_SUCCESS)
|
| + if (result != TSS_SUCCESS)
|
| #endif
|
| {
|
| print_error("Tspi_NV_ReadValue", result);
|
| @@ -291,7 +291,7 @@ main_v1_2(char version)
|
| }
|
|
|
| result = Testsuite_Transport_Final(hContext, hSigningKey);
|
| - if (result != TSS_SUCCESS)
|
| + if (result == TSS_SUCCESS)
|
| {
|
| print_success(nameOfFunction, result);
|
| print_end_test(nameOfFunction);
|
|
|