fix: Do not add the serial-number twice.

Related: #678
pull/749/head
Raphaël Vinot 2021-02-16 18:34:54 +01:00
parent b9f7bd9dc1
commit e183dbc577
1 changed files with 0 additions and 1 deletions

View File

@ -153,7 +153,6 @@ class PECertificate(AbstractMISPObjectGenerator):
self.add_attribute('version', value=self.__certificate.version)
self.add_attribute('subject', value=self.__certificate.subject)
self.add_attribute('signature_algorithm', value=self.__certificate.signature_algorithm)
self.add_attribute('serial-number', value=self.__certificate.serial_number)
self.add_attribute('raw-base64', value=b64encode(self.__certificate.raw))