You've already forked linux-packaging-mono
Imported Upstream version 4.4.0.142
Former-commit-id: 08ca4d6ded648b2ac2eb817c12d5723b52edbb16
This commit is contained in:
@@ -37,6 +37,11 @@ namespace System.Security.Cryptography.X509Certificates
|
||||
get;
|
||||
}
|
||||
|
||||
/*
|
||||
* This is used in System.dll's OSX509Certificates.cs
|
||||
*/
|
||||
public abstract IntPtr GetNativeAppleCertificate ();
|
||||
|
||||
protected void ThrowIfContextInvalid ()
|
||||
{
|
||||
if (!IsValid)
|
||||
|
@@ -34,7 +34,7 @@ using MX = Mono.Security.X509;
|
||||
|
||||
namespace System.Security.Cryptography.X509Certificates
|
||||
{
|
||||
class X509CertificateImplMono : X509CertificateImpl
|
||||
sealed class X509CertificateImplMono : X509CertificateImpl
|
||||
{
|
||||
MX.X509Certificate x509;
|
||||
|
||||
@@ -51,6 +51,11 @@ namespace System.Security.Cryptography.X509Certificates
|
||||
get { return IntPtr.Zero; }
|
||||
}
|
||||
|
||||
public override IntPtr GetNativeAppleCertificate ()
|
||||
{
|
||||
return IntPtr.Zero;
|
||||
}
|
||||
|
||||
public override X509CertificateImpl Clone ()
|
||||
{
|
||||
ThrowIfContextInvalid ();
|
||||
|
@@ -39,7 +39,7 @@ namespace MonoTests.System.Security.Cryptography {
|
||||
public void Ctor ()
|
||||
{
|
||||
var cp = new CspParameters ();
|
||||
Assert.AreEqual (24, cp.ProviderType);
|
||||
Assert.AreEqual (1, cp.ProviderType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user