From eb78ed399230cdb9257ba7dcebc32925330cc7c1 Mon Sep 17 00:00:00 2001 From: Gus Cairo Date: Wed, 7 May 2025 10:58:27 +0100 Subject: [PATCH] Format --- Sources/NIOCertificateReloading/CertificateReloader.swift | 2 +- .../NIOCertificateReloading/TimedCertificateReloader.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/NIOCertificateReloading/CertificateReloader.swift b/Sources/NIOCertificateReloading/CertificateReloader.swift index a023b65..06378e2 100644 --- a/Sources/NIOCertificateReloading/CertificateReloader.swift +++ b/Sources/NIOCertificateReloading/CertificateReloader.swift @@ -12,8 +12,8 @@ // //===----------------------------------------------------------------------===// -import NIOSSL import NIOCore +import NIOSSL /// A protocol that defines a certificate reloader. /// diff --git a/Sources/NIOCertificateReloading/TimedCertificateReloader.swift b/Sources/NIOCertificateReloading/TimedCertificateReloader.swift index d1670be..4119ebe 100644 --- a/Sources/NIOCertificateReloading/TimedCertificateReloader.swift +++ b/Sources/NIOCertificateReloading/TimedCertificateReloader.swift @@ -80,7 +80,7 @@ import Foundation /// not being recognized or not matching the configured one; not being able to verify a certificate's signature against the given /// private key; etc), then that attempt will be aborted but the service will keep on trying at the configured interval. /// The last-valid certificate-key pair (if any) will be returned as the ``sslContextConfigurationOverride``. -@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1.0, *) +@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1, *) public struct TimedCertificateReloader: CertificateReloader { /// The encoding for the certificate or the key. public struct Encoding: Sendable, Equatable { @@ -396,5 +396,5 @@ public struct TimedCertificateReloader: CertificateReloader { } } -@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1.0, *) +@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1, *) extension TimedCertificateReloader: Service {}