# HG changeset patch # User Jens Alfke # Date 1244074962 25200 # Node ID a06e44b9b8989f32316bfe1bcc34b2b3e16ce7c3 # Parent 90a70925562bb6c843be70ba56b69073505a80ec Fixed DEREncoder test case to use the test self-signed cert, not the iphone dev cert, which doesn't pass the test case yet. diff -r 90a70925562b -r a06e44b9b898 MYDEREncoder.m --- a/MYDEREncoder.m Wed Jun 03 17:20:53 2009 -0700 +++ b/MYDEREncoder.m Wed Jun 03 17:22:42 2009 -0700 @@ -338,7 +338,7 @@ TestCase(EncodeCert) { NSError *error = nil; - NSData *cert = [NSData dataWithContentsOfFile: @"../../Tests/iphonedev.cer"]; //TEMP + NSData *cert = [NSData dataWithContentsOfFile: @"../../Tests/selfsigned.cer"]; //TEMP id certObjects = MYBERParse(cert,&error); CAssertNil(error); Log(@"Decoded as:\n%@", [MYASN1Object dump: certObjects]);