Index: src/SSLSocket.m ================================================================== --- src/SSLSocket.m +++ src/SSLSocket.m @@ -356,11 +356,11 @@ X509 *certificate = SSL_get_peer_certificate(ssl); if (!certificate) return nil; return [[[X509Certificate alloc] - initWithStruct: certificate] autorelease]; + initWithX509Struct: certificate] autorelease]; } - (void)verifyPeerCertificate { unsigned long ret; Index: src/X509Certificate.h ================================================================== --- src/X509Certificate.h +++ src/X509Certificate.h @@ -33,11 +33,11 @@ #ifdef OF_HAVE_PROPERTIES // @property (opts) Type *name; #endif - initWithFile: (OFString*)file; -- initWithStruct: (X509*)cert; +- initWithX509Struct: (X509*)cert; - (OFDictionary*)issuer; - (OFDictionary*)subject; - (OFDictionary*)subjectAlternativeName; - (OFDictionary*)X509_dictionaryFromX509Name: (X509_NAME*)name; - (OFString*)X509_stringFromASN1Object: (ASN1_OBJECT*)obj; Index: src/X509Certificate.m ================================================================== --- src/X509Certificate.m +++ src/X509Certificate.m @@ -58,11 +58,11 @@ } return self; } -- initWithStruct: (X509*)cert +- initWithX509Struct: (X509*)cert { self = [self init]; @try { crt = X509_dup(cert);