Skip to content

Commit cc12b72

Browse files
author
lauris71
committed
Temporarily disabled WinBackend non-compiling PBKDF
1 parent 26bc8b5 commit cc12b72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libcdoc/WinBackend.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ libcdoc::WinBackend::extractHKDF(std::vector<uint8_t>& dst, const std::vector<ui
240240
{
241241
if (salt.empty()) return INVALID_PARAMS;
242242
if ((kdf_iter > 0) && pw_salt.empty()) return INVALID_PARAMS;
243-
243+
#if 0
244244
if (kdf_iter > 0) {
245245
std::vector<uint8_t> secret;
246246
int result = getSecret(secret, idx);
@@ -271,6 +271,8 @@ libcdoc::WinBackend::extractHKDF(std::vector<uint8_t>& dst, const std::vector<ui
271271
}
272272

273273
return OK;
274+
#endif
275+
return NOT_IMPLEMENTED;
274276
}
275277

276278
int

0 commit comments

Comments
 (0)