MYDecoder.m
changeset 13 6fd9177eb6da
parent 8 4c0eafa7b233
child 14 3af1d1c0ceb5
     1.1 --- a/MYDecoder.m	Sun Apr 12 22:02:20 2009 -0700
     1.2 +++ b/MYDecoder.m	Sun Apr 19 00:01:41 2009 -0700
     1.3 @@ -308,23 +308,6 @@
     1.4  
     1.5  
     1.6  
     1.7 -// Taken from Keychain.framework
     1.8 -NSString* OIDAsString(const CSSM_OID oid) {
     1.9 -    if ((NULL == oid.Data) || (0 >= oid.Length)) {
    1.10 -        return nil;
    1.11 -    } else {
    1.12 -        NSMutableString *result = [NSMutableString stringWithCapacity:(4 * oid.Length)];
    1.13 -        unsigned int i;
    1.14 -        
    1.15 -        for (i = 0; i < oid.Length; ++i) {
    1.16 -            [result appendFormat:@"%s%hhu", ((0 == i) ? "" : ", "), oid.Data[i]];
    1.17 -        }
    1.18 -        
    1.19 -        return result;
    1.20 -    }
    1.21 -}
    1.22 -
    1.23 -
    1.24  
    1.25  #pragma mark -
    1.26  #pragma mark TEST CASE: