mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
NSSDB: Let certutil decide its default db type
CertDB no longer makes any assumptions about the default db type of a NSS DB. Instead it let's certutil decide when dbtype is set to 'auto'. This makes it much easier to support F27 and F28 from a single code base. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
@@ -45,7 +45,6 @@ from ipalib.errors import CertificateOperationError
|
||||
from ipalib.install import certstore
|
||||
from ipalib.util import strip_csr_header
|
||||
from ipalib.text import _
|
||||
from ipaplatform.constants import constants
|
||||
from ipaplatform.paths import paths
|
||||
|
||||
|
||||
@@ -725,7 +724,6 @@ class CertDB(object):
|
||||
"""
|
||||
return (
|
||||
self.nssdb.dbtype == 'dbm' and
|
||||
self.nssdb.dbtype != constants.NSS_DEFAULT_DBTYPE and
|
||||
self.exists()
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user