diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_crypto.h b/include/m_crypto.h index 87e2a61614..1634f7c93e 100644 --- a/include/m_crypto.h +++ b/include/m_crypto.h @@ -35,9 +35,9 @@ struct MICryptoEngine // get/set the instance key
STDMETHOD_(size_t, getKeyLength)(void) PURE;
STDMETHOD_(bool, getKey)(BYTE *pKey, size_t cbKeyLen) PURE;
- STDMETHOD_(int, setKey)(const BYTE *pKey, size_t cbKeyLen) PURE;
+ STDMETHOD_(bool, setKey)(const BYTE *pKey, size_t cbKeyLen) PURE;
- STDMETHOD_(void, generateKey)(void)PURE; // creates a new key inside
+ STDMETHOD_(bool, generateKey)(void)PURE; // creates a new key inside
STDMETHOD_(void, purgeKey)(void)PURE; // purges a key from memory
// sets the master password (in utf-8)
|