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:
parent
ce62cc1df7
commit
f00ab7c11d
2 changed files with 4 additions and 1 deletions
|
@ -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}
|
||||
|
|
|
@ -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.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue