From a31e88cd64c258da80d0bab3747c407862a792b0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Apr 2021 18:16:57 +0300 Subject: fixes #2836 (Miranda keeps profile password in memory after checking it) --- include/m_crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3