Replace the deprecated flag with new one. 46/260346/2 tizen
authorMichał Szaknis <m.szaknis@samsung.com>
Mon, 21 Jun 2021 13:56:13 +0000 (15:56 +0200)
committerMichał Szaknis <m.szaknis@samsung.com>
Thu, 24 Jun 2021 07:59:27 +0000 (09:59 +0200)
Change-Id: Ie381d76c361f7a487b6957207d48c08ea7c68727

examples/ta/ta2/src/ta.c

index aaaf876e9b122720208cd8d0f12bac76b954058b..11200a6aaadcc01146a76cd31fd478d5090b9dec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 2017 - 2018 Samsung Electronics Co., Ltd All Rights Reserved
+ *  Copyright (c) 2017 - 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.
@@ -54,11 +54,7 @@ static TEE_Result save(uint32_t num)
                                      TEE_DATA_FLAG_ACCESS_READ |
                                      TEE_DATA_FLAG_ACCESS_WRITE |
                                      TEE_DATA_FLAG_ACCESS_WRITE_META |
-#if defined(TEF_BUILD_SIMULATOR)
-                                     TEE_DATA_FLAG_EXCLUSIVE,
-#else
                                      TEE_DATA_FLAG_OVERWRITE,
-#endif
                                      TEE_HANDLE_NULL,
                                      0, 0,
                                      &obj);