MYDEREncoder.m
changeset 17 90a70925562b
parent 16 c409dbc4f068
child 18 a06e44b9b898
     1.1 --- a/MYDEREncoder.m	Tue Jun 02 13:16:28 2009 -0700
     1.2 +++ b/MYDEREncoder.m	Wed Jun 03 17:20:53 2009 -0700
     1.3 @@ -338,7 +338,7 @@
     1.4  
     1.5  TestCase(EncodeCert) {
     1.6      NSError *error = nil;
     1.7 -    NSData *cert = [NSData dataWithContentsOfFile: @"../../Tests/selfsigned.cer"];  //TEMP
     1.8 +    NSData *cert = [NSData dataWithContentsOfFile: @"../../Tests/iphonedev.cer"];  //TEMP
     1.9      id certObjects = MYBERParse(cert,&error);
    1.10      CAssertNil(error);
    1.11      Log(@"Decoded as:\n%@", [MYASN1Object dump: certObjects]);
    1.12 @@ -347,6 +347,6 @@
    1.13      id reDecoded = MYBERParse(encoded, &error);
    1.14      CAssertNil(error);
    1.15      Log(@"Re-decoded as:\n%@", [MYASN1Object dump: reDecoded]);
    1.16 -    [encoded writeToFile: @"../../Tests/selfsigned_reencoded.cer" atomically: YES];
    1.17 +    [encoded writeToFile: @"../../Tests/iphonedev_reencoded.cer" atomically: YES];
    1.18      CAssertEqual(encoded,cert);
    1.19  }