mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 02:12:50 +00:00
kutils: fix build without openssl
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f7c1f24284
commit
87686b2b7f
1 changed files with 4 additions and 0 deletions
|
@ -178,7 +178,11 @@ void KPasswdStoreImpl::setCacheOnly(const bool cacheonly)
|
|||
|
||||
bool KPasswdStoreImpl::cacheOnly() const
|
||||
{
|
||||
#if defined(HAVE_OPENSSL)
|
||||
return (m_cacheonly && m_passwdtimer.elapsed() < m_timeout);
|
||||
#else
|
||||
return m_cacheonly;
|
||||
#endif
|
||||
}
|
||||
|
||||
QString KPasswdStoreImpl::getPasswd(const QByteArray &key, const qlonglong windowid)
|
||||
|
|
Loading…
Add table
Reference in a new issue