Skip to content

Commit 70f5b36

Browse files
committed
downgrade loggingof VirtualLock / VirtualUnlock to TRACE
1 parent 9bbd4e6 commit 70f5b36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/crypto_impl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ void sqlcipher_mlock(void *ptr, u64 sz) {
357357
#elif defined(_WIN32)
358358
#if !(defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP || WINAPI_FAMILY == WINAPI_FAMILY_APP))
359359
int rc;
360-
sqlcipher_log(SQLCIPHER_LOG_DEBUG, "sqlcipher_mem_lock: calling VirtualLock(%p,%d)", ptr, sz);
360+
sqlcipher_log(SQLCIPHER_LOG_TRACE, "sqlcipher_mem_lock: calling VirtualLock(%p,%d)", ptr, sz);
361361
rc = VirtualLock(ptr, sz);
362362
if(rc==0) {
363363
sqlcipher_log(SQLCIPHER_LOG_ERROR, "sqlcipher_mem_lock: VirtualLock(%p,%d) returned %d LastError=%d", ptr, sz, rc, GetLastError());
@@ -384,7 +384,7 @@ void sqlcipher_munlock(void *ptr, u64 sz) {
384384
#elif defined(_WIN32)
385385
#if !(defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP || WINAPI_FAMILY == WINAPI_FAMILY_APP))
386386
int rc;
387-
sqlcipher_log(SQLCIPHER_LOG_DEBUG, "sqlcipher_mem_lock: calling VirtualUnlock(%p,%d)", ptr, sz);
387+
sqlcipher_log(SQLCIPHER_LOG_TRACE, "sqlcipher_mem_lock: calling VirtualUnlock(%p,%d)", ptr, sz);
388388
rc = VirtualUnlock(ptr, sz);
389389
if(!rc) {
390390
sqlcipher_log(SQLCIPHER_LOG_ERROR, "sqlcipher_mem_unlock: VirtualUnlock(%p,%d) returned %d LastError=%d", ptr, sz, rc, GetLastError());

0 commit comments

Comments
 (0)