Пример #1
0
        public void SSLenforced()
        {
            // We don't use curl on Windows, and so we just skip
            // this test on that platform.
            if (Platform.IsWindows)
            {
                return;
            }

            var curl = Curl.CreateEasy("https://example.com", (FileStream)null);

            Assert.IsTrue(curl.SslVerifyPeer, "We should enforce SSL");
        }