[appletls]: Actually use the new code that was added in PR #4671.
authorMartin Baulig <mabaul@microsoft.com>
Wed, 12 Apr 2017 17:38:56 +0000 (13:38 -0400)
committerMartin Baulig <mabaul@microsoft.com>
Wed, 12 Apr 2017 21:13:06 +0000 (17:13 -0400)
mcs/class/System/Mono.AppleTls/AppleCertificateHelper.cs

index 6225abb90ca3fb6c039dac78d06a5bdab886e06f..7f6e9bc9f63835a19e9a899ad87f03fe280198bf 100644 (file)
@@ -36,7 +36,7 @@ namespace Mono.AppleTls
                         */
                        var certificate2 = certificate as X509Certificate2;
                        if (certificate2 != null)
-                               return SecIdentity.Import (certificate2);
+                               return SecImportExport.ItemImport (certificate2);
 
                        /*
                         * Reading Certificates from the Mac Keychain