Fix TA1750_ocsp_check_positive test assert message 62/253762/4
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 17 Feb 2021 12:48:32 +0000 (13:48 +0100)
committerDariusz Michaluk <d.michaluk@samsung.com>
Thu, 18 Feb 2021 10:44:43 +0000 (10:44 +0000)
Change-Id: Id26d29f7cec5dd1aa6b55ce8b6f19318bc3724de

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