summaryrefslogtreecommitdiff
path: root/tests/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-08-20 22:37:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-08-20 22:37:29 (GMT)
commit3c5b02bde6754f2db27a8b413739711396690e1c (patch)
treebaf5e252bce0d26d1766a964f43d5d73b24e0ac4 /tests/analysis
parent643d8886dbc8e04de7a3bab1207c6997ea2549d7 (diff)
Replaced calls to deprecated functions building RSA keys.
Diffstat (limited to 'tests/analysis')
-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 c4dfa32..ead768e 100644
--- a/tests/analysis/db/certs.py
+++ b/tests/analysis/db/certs.py
@@ -63,7 +63,7 @@ class TestRestrictedContent(ChrysalideTestCase):
cmd = 'openssl x509 -in %s/ca-cert.pem -subject -noout' % self._tmppath
- expected = b'subject= /C=UK/CN=OpenSSL Group\n'
+ expected = b'subject=C = UK, CN = OpenSSL Group\n'
self.checkOutput(cmd, expected)
@@ -99,7 +99,7 @@ class TestRestrictedContent(ChrysalideTestCase):
cmd = 'openssl x509 -in %s/server-cert.pem -subject -noout' % self._tmppath
- expected = b'subject= /C=UK/CN=OpenSSL Group\n'
+ expected = b'subject=C = UK, CN = OpenSSL Group\n'
self.checkOutput(cmd, expected)