Index: ObjOpenSSL.xcodeproj/project.pbxproj ================================================================== --- ObjOpenSSL.xcodeproj/project.pbxproj +++ ObjOpenSSL.xcodeproj/project.pbxproj @@ -129,11 +129,11 @@ /* Begin PBXProject section */ 4B1918E01341272300D82152 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0420; + LastUpgradeCheck = 0460; }; buildConfigurationList = 4B1918E31341272300D82152 /* Build configuration list for PBXProject "ObjOpenSSL" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; Index: src/SSLSocket.m ================================================================== --- src/SSLSocket.m +++ src/SSLSocket.m @@ -323,16 +323,16 @@ @throw [OFWriteFailedException exceptionWithClass: [self class] stream: self requestedLength: length]; } -- (size_t)pendingBytes +- (size_t)numberOfBytesInReadBuffer { if (_SSL == NULL) - return [super pendingBytes]; + return [super numberOfBytesInReadBuffer]; - return [super pendingBytes] + SSL_pending(_SSL); + return [super numberOfBytesInReadBuffer] + SSL_pending(_SSL); } - (void)setPrivateKeyFile: (OFString*)privateKeyFile { OF_SETTER(_privateKeyFile, privateKeyFile, YES, YES)