mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fix #4065
This commit is contained in:
parent
e243918207
commit
b02252d664
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ class X509(object):
|
|||
return self.AKI if self.AKI else repr(self.issuer)
|
||||
|
||||
def get_common_name(self):
|
||||
return self.subject.get('2.5.4.3', 'unknown').decode()
|
||||
return self.subject.get('2.5.4.3', b'unknown').decode()
|
||||
|
||||
def get_signature(self):
|
||||
return self.cert_sig_algo, self.signature, self.data
|
||||
|
|
Loading…
Add table
Reference in a new issue