diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-07-05 10:43:47 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-07-05 10:43:47 +0200 |
commit | 59b467ebb9c14077651af27181c72f7641a8b4ed (patch) | |
tree | 02382457d8e3ecfb8c941662d8f35adc208774ff /common/rfb | |
parent | 8e7071b1c96a34ea71467759c6a6dbcec5fce7ad (diff) | |
download | tigervnc-59b467ebb9c14077651af27181c72f7641a8b4ed.tar.gz tigervnc-59b467ebb9c14077651af27181c72f7641a8b4ed.zip |
Remove double expired certificate prompts
This should have been done in 5f46d55.
Diffstat (limited to 'common/rfb')
-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); |