summaryrefslogtreecommitdiff
path: root/include/m_crypto.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-13 18:16:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-13 18:16:57 +0300
commita31e88cd64c258da80d0bab3747c407862a792b0 (patch)
treec253d7e20af8733ebb08ec7bfcdb851764f820b5 /include/m_crypto.h
parent850c49bb75c0ac93c3a082cc51f82912309923df (diff)
fixes #2836 (Miranda keeps profile password in memory after checking it)
Diffstat (limited to 'include/m_crypto.h')
-rw-r--r--include/m_crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_crypto.h b/include/m_crypto.h
index 3d6e81d3a3..d13a6b053e 100644
--- a/include/m_crypto.h
+++ b/include/m_crypto.h
@@ -37,7 +37,7 @@ struct MICryptoEngine
// get/set the instance key
STDMETHOD_(size_t, getKeyLength)(void) PURE;
STDMETHOD_(bool, getKey)(BYTE *pKey, size_t cbKeyLen) PURE;
- STDMETHOD_(bool, setKey)(const BYTE *pKey, size_t cbKeyLen) PURE;
+ STDMETHOD_(bool, setKey)(const char *pszPassword, const BYTE *pKey, size_t cbKeyLen) PURE;
STDMETHOD_(bool, generateKey)(void)PURE; // creates a new key inside
STDMETHOD_(void, purgeKey)(void)PURE; // purges a key from memory