[gtk-vnc] Remove duplicate check for cert expiration time
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] Remove duplicate check for cert expiration time
- Date: Mon, 8 Feb 2016 18:20:20 +0000 (UTC)
commit ea62e1662e8e98ff569cda3568ebe6b404e4c3f3
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Feb 8 18:08:26 2016 +0000
Remove duplicate check for cert expiration time
src/vncconnection.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/vncconnection.c b/src/vncconnection.c
index 72dea89..21b312e 100644
--- a/src/vncconnection.c
+++ b/src/vncconnection.c
@@ -1411,12 +1411,6 @@ static int vnc_connection_validate_certificate(VncConnection *conn)
return FALSE;
}
- if (gnutls_x509_crt_get_activation_time (cert) > now) {
- VNC_DEBUG("The certificate is not yet activated");
- gnutls_x509_crt_deinit (cert);
- return FALSE;
- }
-
if (i == 0) {
if (!priv->host) {
VNC_DEBUG ("No hostname provided for certificate verification");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]