diff options
Diffstat (limited to 'base/nss_util.cc')
-rw-r--r-- | base/nss_util.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/nss_util.cc b/base/nss_util.cc index bf772aa..b144881 100644 --- a/base/nss_util.cc +++ b/base/nss_util.cc @@ -254,7 +254,9 @@ class NSSInitSingleton { void CloseTestNSSDB() { if (test_db_slot_) { - SECMOD_CloseUserDB(test_db_slot_); + SECStatus status = SECMOD_CloseUserDB(test_db_slot_); + if (status != SECSuccess) + LOG(ERROR) << "SECMOD_CloseUserDB failed: " << PORT_GetError(); PK11_FreeSlot(test_db_slot_); test_db_slot_ = NULL; } |