From 696787433c736b469f56ca4909b934b3eea8d056 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Fri, 8 Nov 2024 13:50:53 +1100 Subject: [PATCH] Android build fixes --- Sources/X509/Verifier/ServerIdentityPolicy.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/X509/Verifier/ServerIdentityPolicy.swift b/Sources/X509/Verifier/ServerIdentityPolicy.swift index 781cc17..6eefddd 100644 --- a/Sources/X509/Verifier/ServerIdentityPolicy.swift +++ b/Sources/X509/Verifier/ServerIdentityPolicy.swift @@ -16,6 +16,8 @@ import Foundation import SwiftASN1 #if os(Windows) import WinSDK +#elseif canImport(Android) +import Android #endif /// A ``VerifierPolicy`` that validates that the leaf certificate is authoritative