Fix TA1750_ocsp_check_positive test assert message
[platform/core/test/security-tests.git] / src / ckm / unprivileged / async-api.cpp
index 85b9acd..c0c40bf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 2016 - 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *  Copyright (c) 2016 - 2021 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -1257,7 +1257,7 @@ RUNNER_TEST(TA1750_ocsp_check_positive, UserEnv)
 
     auto obs2 = test_positive(&ManagerAsync::ocspCheck, obs->m_certChain);
     RUNNER_ASSERT_MSG(obs2->m_ocspStatus == CKM_API_OCSP_STATUS_GOOD,
-                         "Verification failed. Error: " << obs->m_ocspStatus);
+                         "Verification failed. Error: " << obs2->m_ocspStatus);
 }
 
 // setPermission