'If passed md5 as the digest function, ``CRL.export`` uses md5 and does
not emit a deprecation warning.'

def test_export_md5_digest(self):

    crl = self._get_crl()
    with catch_warnings(record=True) as catcher:
        simplefilter('always')
        self.assertEqual(0, len(catcher))
    dumped_crl = crl.export(self.cert, self.pkey, digest='md5')
    text = _runopenssl(dumped_crl, 'crl', '-noout', '-text')
    text.index(b('Signature    Algorithm:    md5'))
