diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 00:59:56 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 00:59:56 +0000 |
commit | dbc13b5d232666808a29e0e787883f06082282fd (patch) | |
tree | 54e9c83e9f0431345b29ae64a7ecc01146140fae /base/nss_util.cc | |
parent | 0bbd6db7289b9b9337203715fd8d037f975bd044 (diff) | |
download | chromium_src-dbc13b5d232666808a29e0e787883f06082282fd.zip chromium_src-dbc13b5d232666808a29e0e787883f06082282fd.tar.gz chromium_src-dbc13b5d232666808a29e0e787883f06082282fd.tar.bz2 |
Do not call NSS functions if NSS initialization failed.
R=agl
BUG=36071
TEST=none
Review URL: http://codereview.chromium.org/1545034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nss_util.cc')
-rw-r--r-- | base/nss_util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/nss_util.cc b/base/nss_util.cc index 58c8d62..d77cf36 100644 --- a/base/nss_util.cc +++ b/base/nss_util.cc @@ -131,6 +131,7 @@ class NSSInitSingleton { if (status != SECSuccess) { LOG(ERROR) << "Error initializing NSS without a persistent " "database: NSS error code " << PR_GetError(); + return; } } |