diff -r 2b4ad2067074 -r e9f209a24d53 TCP/TCPConnection.m --- a/TCP/TCPConnection.m Sat May 16 14:24:06 2009 -0700 +++ b/TCP/TCPConnection.m Tue Jun 23 12:46:40 2009 -0700 @@ -361,7 +361,8 @@ allow = NO; // Server MUST have a cert! else { SecCertificateRef cert = certs.count ?(SecCertificateRef)[certs objectAtIndex:0] :NULL; - LogTo(TCP,@"%@: Peer cert = %@",self,[TCPEndpoint describeCert: cert]); + if ([TCPEndpoint respondsToSelector: @selector(describeCert:)]) + LogTo(TCP,@"%@: Peer cert = %@",self,[TCPEndpoint describeCert: cert]); if( [_delegate respondsToSelector: @selector(connection:authorizeSSLPeer:)] ) allow = [_delegate connection: self authorizeSSLPeer: cert]; }