mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 07:03:39 -06:00
Correct usage of public_key_algorithm_oid in ipalib/x509
public_key_algorithm_oid is property of underlying Certificate object that is not supposed to be callable. I missed that it contained () at the end. Fixes: https://pagure.io/freeipa/issue/9641 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
f37c2eb878
commit
5cc7941f30
@ -298,7 +298,7 @@ class IPACertificate(crypto_x509.Certificate):
|
||||
"""
|
||||
Returns the ObjectIdentifier of the public key.
|
||||
"""
|
||||
return self._cert.public_key_algorithm_oid()
|
||||
return self._cert.public_key_algorithm_oid
|
||||
|
||||
@property
|
||||
def tbs_certificate_bytes(self):
|
||||
|
Loading…
Reference in New Issue
Block a user