@@ -35,11 +35,11 @@ #import "X509Certificate.h" #import #import -#import +#import #import #import #import #import #import @@ -70,15 +70,14 @@ { self = [super init]; @try { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; - OFDataArray *data = [OFDataArray - dataArrayWithContentsOfFile: path]; - const unsigned char *dataCArray = [data items]; + OFData *data = [OFData dataWithContentsOfFile: path]; + const unsigned char *dataC = [data items]; - _certificate = d2i_X509(NULL, &dataCArray, [data count]); + _certificate = d2i_X509(NULL, &dataC, [data count]); if (_certificate == NULL) @throw [OFInitializationFailedException exceptionWithClass: [self class]]; [pool release];