mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* Add server-side Server-Name-Indication (SNI) support (both AppleTls and BTLS). * Support the new `SslServerAuthenticationOptions.ServerCertificateSelectionCallback`. * Server certificate selection is now compatible with CoreFx behavior; first checking the new `ServerCertSelectionDelegate` then `LocalCertSelectionCallback` and finally using an explicitly provided certificate. * Misc exception checks and fixes to make behavior consistent with CoreFx; any exception thrown by reading / writing the underlying stream will now be propagated verbatim (and not wrapped in an `AuthenticationException`); exceptions thrown by the handshake / TLS stack itself will still be wrapped. * Added `System.Net.Security` xUnit tests from CoreFx. * Misc test cleanups; moved certificate test files from `System.Net.Http` into `System` and embed them in the test assembly as resources, adjusting `test-helpers/Configuration.Certificates.cs` accordingly.
22 lines
591 B
Makefile
22 lines
591 B
Makefile
thisdir = class/System.Net.Http/FunctionalTests
|
|
SUBDIRS =
|
|
include ../../../build/rules.make
|
|
|
|
ASSEMBLY = System.Net.Http.FunctionalTests
|
|
|
|
XTEST_LIB_REFS = System System.Core Facades/System.Threading.Tasks
|
|
USE_XTEST_REMOTE_EXECUTOR = YES
|
|
|
|
XTEST_LIB_FLAGS = /resource:../../System/Test/TestData/testservereku.contoso.com.pfx
|
|
|
|
the_assembly = $(topdir)/class/lib/$(PROFILE_DIRECTORY)/System.Net.Http.dll
|
|
|
|
include ../../../build/tests.make
|
|
|
|
TEST_RUNTIME := MONO_URI_DOTNETRELATIVEORABSOLUTE=true $(TEST_RUNTIME)
|
|
|
|
clean-local:
|
|
-rm -f $(tests_CLEAN_FILES) $(CLEAN_FILES)
|
|
|
|
dist-local: dist-default
|