diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/CSecurityTLS.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx index 49c3c818..08b45da6 100644 --- a/common/rfb/CSecurityTLS.cxx +++ b/common/rfb/CSecurityTLS.cxx @@ -315,14 +315,6 @@ void CSecurityTLS::checkSession() if (status & GNUTLS_CERT_REVOKED) throw AuthFailureException("server certificate has been revoked"); - if (status & GNUTLS_CERT_EXPIRED) { - vlog.debug("server certificate has expired"); - if (!msg->showMsgBox(UserMsgBox::M_YESNO, "certificate has expired", - "The certificate of the server has expired, " - "do you want to continue?")) - throw AuthFailureException("server certificate has expired"); - } - /* Process other errors later */ cert_list = gnutls_certificate_get_peers(session, &cert_list_size); |