+2006-09-07 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpsClientStream.cs: Honor ServicePointManager.SecurityProtocol to
+ select between SSL3, TLS1 or, by default, auto. Great for testing :)
+
2006-06-08 Sebastien Pouliot <sebastien@ximian.com>
* ClientRecordProtocol.cs: Avoid a NRE when the server request a
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
-// Copyright (C) 2004-2005 Novell, Inc. (http://www.novell.com)
+// Copyright (C) 2004-2006 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
public HttpsClientStream (Stream stream, X509CertificateCollection clientCertificates,
HttpWebRequest request, byte [] buffer)
- : base (stream, request.RequestUri.Host, false, SecurityProtocolType.Default, clientCertificates)
+ : base (stream, request.RequestUri.Host, false, (Mono.Security.Protocol.Tls.SecurityProtocolType)
+ ServicePointManager.SecurityProtocol, clientCertificates)
{
// this constructor permit access to the WebRequest to call
// ICertificatePolicy.CheckValidationResult