Merge "dogtag: Only call initialize() if crypto is not None"

This commit is contained in:
Jenkins 2016-07-25 10:38:55 +00:00 committed by Gerrit Code Review
commit e994d4dd91

View File

@ -155,7 +155,8 @@ def create_connection(conf, subsystem_path):
return connection
crypto = _setup_nss_db_services(CONF)
crypto.initialize()
if crypto:
crypto.initialize()
class DogtagPluginAlgorithmException(exception.BarbicanException):