From 31df3a229f3eb663587008eb1637d1a221a1524b Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 7 Sep 2023 14:56:29 +0200 Subject: [PATCH] Fix propery access --- .../main/kotlin/org/pgpainless/key/generation/KeyRingBuilder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/KeyRingBuilder.kt b/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/KeyRingBuilder.kt index f6ab303c..f6967bd6 100644 --- a/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/KeyRingBuilder.kt +++ b/pgpainless-core/src/main/kotlin/org/pgpainless/key/generation/KeyRingBuilder.kt @@ -90,7 +90,7 @@ class KeyRingBuilder : KeyRingBuilderInterface { return KeyFlag.hasKeyFlag(flags.flags, KeyFlag.CERTIFY_OTHER) } - private fun keyIsCertificationCapable(keySpec: KeySpec) = keySpec.keyType.canCertify() + private fun keyIsCertificationCapable(keySpec: KeySpec) = keySpec.keyType.canCertify override fun build(): PGPSecretKeyRing { val keyFingerprintCalculator = ImplementationFactory.getInstance()