~exarkun/pyopenssl/mem-bio

« back to all changes in this revision

Viewing changes to test/test_ssl.py

  • Committer: Jean-Paul Calderone
  • Date: 2009-04-01 16:05:45 UTC
  • Revision ID: exarkun@magnon-20090401160545-cm5x229uyjw9o8ue
Fix the tests by updating the certificate they use so that it is not expired

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
                    pass
183
183
 
184
184
        cert = clientSSL.get_peer_certificate()
185
 
        self.assertEqual(cert.get_subject().CN, 'pyopenssl.sf.net')
 
185
        self.assertEqual(cert.get_subject().CN, 'Testing Root CA')
186
186
 
187
187
    def test_load_verify_file(self):
188
188
        """
221
221
 
222
222
        # Hash value computed manually with c_rehash to avoid depending on
223
223
        # c_rehash in the test suite.
224
 
        symlink('cert.pem', join(capath, '07497d9e.0'))
 
224
        symlink('cert.pem', join(capath, 'c7adac82.0'))
225
225
 
226
226
        self._load_verify_locations_test(None, capath)
227
227