summaryrefslogtreecommitdiff
path: root/include/m_crypto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-01 21:50:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-01 21:50:29 +0000
commitf0dd963ab37b2ff412b4b1e0b9459d61d42ab9d4 (patch)
treecd685e29b724e79f34bcc085e224069658d0451e /include/m_crypto.h
parent9966d00cb781bae925ed367edf94c2772e3a8c5e (diff)
method for checking a password
git-svn-id: http://svn.miranda-ng.org/main/trunk@7027 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_crypto.h')
-rw-r--r--include/m_crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_crypto.h b/include/m_crypto.h
index 0d79e2f9ba..32b532f9b1 100644
--- a/include/m_crypto.h
+++ b/include/m_crypto.h
@@ -41,6 +41,7 @@ struct MICryptoEngine
STDMETHOD_(void, purgeKey)(void)PURE; // purges a key from memory
// sets the master password (in utf-8)
+ STDMETHOD_(bool, checkPassword)(const char *pszPassword) PURE;
STDMETHOD_(void, setPassword)(const char *pszPassword) PURE;
// result must be freed using mir_free or assigned to mir_ptr<BYTE>