diff --git a/lib/ssl/sslnonce.c b/lib/ssl/sslnonce.c
--- a/lib/ssl/sslnonce.c
+++ b/lib/ssl/sslnonce.c
@@ -279,19 +279,17 @@ ssl_LookupSID(const PRIPv6Addr *addr, PR
(((peerID == NULL) && (sid->peerID == NULL)) ||
((peerID != NULL) && (sid->peerID != NULL) &&
PORT_Strcmp(sid->peerID, peerID) == 0)) &&
/* is cacheable */
(sid->version < SSL_LIBRARY_VERSION_3_0 ||
sid->u.ssl3.keys.resumable) &&
/* server hostname matches. */
(sid->urlSvrName != NULL) &&
- ((0 == PORT_Strcmp(urlSvrName, sid->urlSvrName)) ||
- ((sid->peerCert != NULL) && (SECSuccess ==
- CERT_VerifyCertName(sid->peerCert, urlSvrName))) )
+ (0 == PORT_Strcmp(urlSvrName, sid->urlSvrName))
) {
/* Hit */
sid->lastAccessTime = now;
sid->references++;
break;
} else {
sidp = &sid->next;
}