Skip to content

Commit cc8da21

Browse files
committed
add @inlinable to default signAsynchronously implementation
Motivation: Default implementation of signAsynchronously should be inlinable Modifications: adds `@inlinable` to default signAsynchronously implementation. Result: default signAsynchronously implementation will be `@inlinable`
1 parent c7be2bd commit cc8da21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/X509/CustomPrivateKey.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public protocol CustomPrivateKey: Sendable, Hashable, PEMSerializable {
5959
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
6060
extension CustomPrivateKey {
6161

62+
@inlinable
6263
public func signAsynchronously(
6364
bytes: some DataProtocol & Sendable,
6465
signatureAlgorithm: Certificate.SignatureAlgorithm

0 commit comments

Comments
 (0)