Rename initWithStruct: to initWithX509Struct: to avoid potential conflicts

This commit is contained in:
Florian Zeitz 2011-10-24 02:06:41 +02:00
parent 5e38932ed3
commit 4852272bcf
3 changed files with 3 additions and 3 deletions

View file

@ -358,7 +358,7 @@ ssl_locking_callback(int mode, int n, const char *file, int line)
return nil;
return [[[X509Certificate alloc]
initWithStruct: certificate] autorelease];
initWithX509Struct: certificate] autorelease];
}
- (void)verifyPeerCertificate

View file

@ -35,7 +35,7 @@
#endif
- initWithFile: (OFString*)file;
- initWithStruct: (X509*)cert;
- initWithX509Struct: (X509*)cert;
- (OFDictionary*)issuer;
- (OFDictionary*)subject;
- (OFDictionary*)subjectAlternativeName;

View file

@ -60,7 +60,7 @@
return self;
}
- initWithStruct: (X509*)cert
- initWithX509Struct: (X509*)cert
{
self = [self init];