diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-08 11:59:54 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-08 12:00:01 +0300 |
commit | 0eaf95240b7115d0e5a6513bf9d5b3b2d8a1ace6 (patch) | |
tree | eb3438d930f746397521b95b09db88dead252145 | |
parent | 9fd75522d715192fa5fd621b968c58a4ec7415d7 (diff) | |
download | key-manager-sandbox/nmerinov/llvm.tar.gz key-manager-sandbox/nmerinov/llvm.tar.bz2 key-manager-sandbox/nmerinov/llvm.zip |
Enable visiblity of dependency class to actually export CKM::CryptoAlgorithmsandbox/nmerinov/llvm
-rw-r--r-- | src/include/ckm/ckm-raw-buffer.h | 4 | ||||
-rw-r--r-- | src/include/ckm/ckm-type.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/ckm/ckm-raw-buffer.h b/src/include/ckm/ckm-raw-buffer.h index 8ae908f0..7fad01d8 100644 --- a/src/include/ckm/ckm-raw-buffer.h +++ b/src/include/ckm/ckm-raw-buffer.h @@ -26,10 +26,12 @@ #include <string.h> #include <vector> +#define KEY_MANAGER_API __attribute__((visibility("default"))) + namespace CKM { template <typename T> -struct std_erase_on_dealloc { +struct KEY_MANAGER_API std_erase_on_dealloc { // MJK: if re-factoring, remember not to inherit from the std::allocator ! // MJK: to be replaced with much shorter version once std::allocator_traits // becomes supported in STL containers (i.e. list, vector and string) diff --git a/src/include/ckm/ckm-type.h b/src/include/ckm/ckm-type.h index 5a07a3de..f7fb9782 100644 --- a/src/include/ckm/ckm-type.h +++ b/src/include/ckm/ckm-type.h @@ -117,7 +117,7 @@ enum Permission : int { }; // algorithm parameters -enum class ParamName : int { +enum class KEY_MANAGER_API ParamName : int { ALGO_TYPE = 1, // If there's no such param, the service will try to deduce the algorithm // type from the key. |