Use serial_number instead of serial (#1251)
* Add code coverage badge to README * fixing docs (#1231) * Change cert.serial to serial_number This fixes deprecation warning coming from cryptography package about using cert.serial instead of serial_number. Change-Id: I252820974c77cc1b80639920a5e8c2e874819dda
This commit is contained in:
parent
c26ae16060
commit
a47b6c330d
@ -178,7 +178,7 @@ def serial(cert):
|
||||
:param cert:
|
||||
:return: serial number
|
||||
"""
|
||||
return cert.serial
|
||||
return cert.serial_number
|
||||
|
||||
|
||||
def san(cert):
|
||||
|
Loading…
Reference in New Issue
Block a user