diff -r 2b4ad2067074 -r de59ce19f42e TCP/TCPConnection.m --- a/TCP/TCPConnection.m Sat May 16 14:24:06 2009 -0700 +++ b/TCP/TCPConnection.m Tue Jun 23 11:44:30 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]; }