If NSS_InitReadWrite fails, fall back on NSS_NoDB_Init.

Don't call PR_GetErrorText because it is deprecated.  Just
print the error code returned by PR_GetError.

Pass NULL to NSS_NoDB_Init.  (The argument is ignored.)

R=ukai
BUG=20787,20819
TEST=Chromium should work on Red Hat Enterprise Linux and CentOS that
have libnss3.so version 3.12.4.1 but libsoftokn3.so 3.11.4, which does
not support the sql: database format we're using.
Review URL: http://codereview.chromium.org/201036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25630 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 897f52083b57ea9f3ba880e95fde3c3d3a96bce3
1 file changed
tree: 971f6bb30f2a01ab748518ab8f62d48f89682585
  1. base/
  2. build/
  3. ipc/
  4. testing/