diff options
author | Heikki Toivonen <heikki@heikkitoivonen.net> | 2006-04-24 17:19:25 +0000 |
---|---|---|
committer | Heikki Toivonen <heikki@heikkitoivonen.net> | 2006-04-24 17:19:25 +0000 |
commit | b0f409c2f89e2dba8cb78fd0bf95ea3a0360d228 (patch) | |
tree | a7ccf265ed2636b63068d022c981f9cddff9fc04 /tests/test_smime.py | |
parent | 7f7c9fe793686fd5c9c1b0d2a7d91497417c8ca7 (diff) | |
download | m2crypto-b0f409c2f89e2dba8cb78fd0bf95ea3a0360d228.tar.gz |
New test certificates to replace expired ones.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@416 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'tests/test_smime.py')
-rw-r--r-- | tests/test_smime.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_smime.py b/tests/test_smime.py index 70b2644..a464931 100644 --- a/tests/test_smime.py +++ b/tests/test_smime.py @@ -49,14 +49,14 @@ class SMIMETestCase(unittest.TestCase): s.set_x509_stack(sk) st = X509.X509_Store() - st.load_info('signer.pem') + st.load_info('ca.pem') s.set_x509_store(st) p7, data = SMIME.smime_load_pkcs7_bio(signature) assert data.read() == cleartext assert isinstance(p7, SMIME.PKCS7), p7 - #v = s.verify(p7) # XXX expired cert - #assert v == cleartext + v = s.verify(p7) + assert v == cleartext def _check_2_verifyBad(self): s = SMIME.SMIME() |