1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-11 02:13:38 +09:00

Fix compilation for deprecated API on macOS Mojave preview (dotnet/corefx#30716)

* Fix compilation for deprecated API on macOS Mojave preview

Fixes: dotnet/corefx#30599

* Fixing tests on macOS Mojave


Commit migrated from 5e46fe1592
This commit is contained in:
Maryam Ariyan 2018-06-28 16:20:53 -07:00 committed by GitHub
parent ce62cc1df7
commit f00ab7c11d
2 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,9 @@ set(NATIVECRYPTO_SOURCES
pal_x509chain.c
)
# Temporary workaround for dotnet/corefx issue #30599
add_compile_options(-Wno-deprecated-declarations)
add_library(System.Security.Cryptography.Native.Apple
SHARED
${NATIVECRYPTO_SOURCES}

View file

@ -186,7 +186,7 @@ static void MergeStatusCodes(CFTypeRef key, CFTypeRef value, void* context)
// It doesn't represent a new error code, and we're still getting the old ones, so
// just ignore it for now.
}
else if (CFEqual(keyString, CFSTR("NonEmptySubject")))
else if (CFEqual(keyString, CFSTR("NonEmptySubject")) || CFEqual(keyString, CFSTR("GrayListedKey")))
{
// Not a "problem" that we report.
}