Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions tests/monotouch-test/Security/IdentityTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ public class IdentityTest {

static public SecIdentity GetIdentity ()
{
using (var options = NSDictionary.FromObjectAndKey (new NSString ("farscape"), SecImportExport.Passphrase)) {
NSDictionary [] array;
var rv = SecImportExport.ImportPkcs12 (ImportExportTest.farscape_pfx, options, out array);
Assert.That (rv, Is.EqualTo (SecStatusCode.Success), "ImportPkcs12");
return Runtime.GetINativeObject<SecIdentity> (array [0].LowlevelObjectForKey (SecImportExport.Identity.Handle), false);
}
return SecIdentity.Import (ImportExportTest.farscape_pfx, "farscape");
}

[Test]
Expand Down
Loading