[Mono-dev] Open source .Net, and TLS 1.1 & 1.2
Edward Ned Harvey (mono)
edward.harvey.mono at clevertrove.com
Sun Dec 14 05:13:55 UTC 2014
> From: Miguel de Icaza [mailto:miguel at xamarin.com]
> We would love a test case to add to the test suite.
> We are building a new test suite as part of this work anyways.
This is almost done. Granted it is microscopic in scope - the test I've written tests only for the case that I know fails; it's far from being a generalized test for the SslStream class as a whole.
I'd like to make the behavior different on mono and .Net. Particularly, I've generated a junk root CA, and on mono I'd like to use
To programatically import that cert momentarily for the scope of the test (and subsequently remove it).
Obviously, this doesn't exist in .Net. And as far as I know there is no way to programatically import a root CA in .Net.
So is there some #ifdef clause I can use to detect if this is mono or .Net?
I searched the other test classes, and there's RUN_ONDOTNET, but I'm not certain it's the right thing for the job.
More information about the Mono-devel-list