summaryrefslogtreecommitdiff
path: root/tests/analysis/db
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-05-24 11:28:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-05-24 11:28:47 (GMT)
commitb3000495c05ff40d848f6357974cd4d5294a66c2 (patch)
tree7758191e24ea262b82029c0270e80ab6bfbde1a1 /tests/analysis/db
parent73a09734a145722a3bd6199750fad62b46dd9339 (diff)
Handle errors with more care when creating certificates.
Diffstat (limited to 'tests/analysis/db')
-rw-r--r--tests/analysis/db/certs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/analysis/db/certs.py b/tests/analysis/db/certs.py
index ead768e..dcf7d71 100644
--- a/tests/analysis/db/certs.py
+++ b/tests/analysis/db/certs.py
@@ -58,7 +58,7 @@ class TestRestrictedContent(ChrysalideTestCase):
}
- ret = certs.make_ca(self._tmppath, 'ca', 3650 * 24 * 60 * 60, identity)
+ ret = certs.build_keys_and_ca(self._tmppath, 'ca', 3650 * 24 * 60 * 60, identity)
self.assertTrue(ret)
cmd = 'openssl x509 -in %s/ca-cert.pem -subject -noout' % self._tmppath
@@ -85,7 +85,7 @@ class TestRestrictedContent(ChrysalideTestCase):
}
- ret = certs.make_request(self._tmppath, 'server', identity);
+ ret = certs.build_keys_and_request(self._tmppath, 'server', identity);
self.assertTrue(ret)