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:
Rob Crittenden 2024-08-01 09:23:36 -04:00 committed by Florence Blanc-Renaud
parent f37c2eb878
commit 5cc7941f30

View File

@ -298,7 +298,7 @@ class IPACertificate(crypto_x509.Certificate):
""" """
Returns the ObjectIdentifier of the public key. Returns the ObjectIdentifier of the public key.
""" """
return self._cert.public_key_algorithm_oid() return self._cert.public_key_algorithm_oid
@property @property
def tbs_certificate_bytes(self): def tbs_certificate_bytes(self):