You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.135
Former-commit-id: 28d9e60fa3ef68cbdb55d4aeeb9e18679dc66b69
This commit is contained in:
parent
29319da080
commit
526ff2cf78
@ -50,7 +50,7 @@ using System.Security.Cryptography;
|
||||
|
||||
namespace Mono.Net.Security
|
||||
{
|
||||
class MonoTlsStream : IDisposable
|
||||
class MonoTlsStream
|
||||
{
|
||||
#if SECURITY_DEP
|
||||
readonly MonoTlsProvider provider;
|
||||
@ -136,7 +136,6 @@ namespace Mono.Net.Security
|
||||
request.ServicePoint.UpdateClientCertificate (sslStream.InternalLocalCertificate);
|
||||
else {
|
||||
request.ServicePoint.UpdateClientCertificate (null);
|
||||
sslStream.Dispose ();
|
||||
sslStream = null;
|
||||
}
|
||||
}
|
||||
@ -155,13 +154,5 @@ namespace Mono.Net.Security
|
||||
throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
|
||||
#endif
|
||||
}
|
||||
|
||||
public void Dispose ()
|
||||
{
|
||||
if (sslStream != null) {
|
||||
sslStream.Dispose ();
|
||||
sslStream = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user