mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Trying to make pylint happy.
This commit is contained in:
parent
6fbd5fa811
commit
4759bc9034
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ def gen_ss_cert(key, domains, not_before=None,
|
|||
try:
|
||||
cert.set_serial_number(int(OpenSSL.rand.bytes(16).encode("hex"), 16))
|
||||
except AttributeError:
|
||||
# pylint: disable=E1101
|
||||
cert.set_serial_number(int.from_bytes(OpenSSL.rand.bytes(16), 'big'))
|
||||
cert.set_version(2)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue