Starting in 17.1.0, the OpenSSL.crypto.CRL.export() fuction requires the
caller to specify the digest type, after a few years of not specifying
one being a deprecation warning. Since this is just used for tests, I
kept the old default of md5.
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
Index: trunk/test/certs/create_certs.py
===================================================================
--- trunk/test/certs/create_certs.py (revision 1844708)
+++ trunk/test/certs/create_certs.py (working copy)
@@ -78,7 +78,8 @@
revoked.set_rev_date(now_str) # revoked as of now
crl.add_revoked(revoked)
- open(crlfile, "wt").write(crl.export(cacert, cakey, days=next_crl_days))
+ open(crlfile, "wt").write(crl.export(cacert, cakey, days=next_crl_days,
+ digest=b"md5"))
# subjectAltName
def create_cert(subjectkey, certfile, issuer=None, issuerkey=None, country='',