diff --git a/src/native/libs/System.Security.Cryptography.Native.Apple/pal_x509.c b/src/native/libs/System.Security.Cryptography.Native.Apple/pal_x509.c index f8b82864e6778..8335c1c362c0e 100644 --- a/src/native/libs/System.Security.Cryptography.Native.Apple/pal_x509.c +++ b/src/native/libs/System.Security.Cryptography.Native.Apple/pal_x509.c @@ -3,14 +3,6 @@ #include "pal_x509.h" #include "pal_utilities.h" -#include -#include - -#if !defined(TARGET_MACCATALYST) -static pthread_once_t once = PTHREAD_ONCE_INIT; -static SecKeyRef (*secCertificateCopyKey)(SecCertificateRef); -static OSStatus (*secCertificateCopyPublicKey)(SecCertificateRef, SecKeyRef*); -#endif int32_t AppleCryptoNative_X509DemuxAndRetainHandle(CFTypeRef handle, SecCertificateRef* pCertOut, SecIdentityRef* pIdentityOut)