[glib-networking/mcatanzaro/tls-thread] progress



commit 829212311cb029a23cbf0dde3602d3c2b0c003cb
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Dec 23 19:49:42 2019 -0600

    progress

 tls/gnutls/gtlsoperationsthread-gnutls.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tls/gnutls/gtlsoperationsthread-gnutls.c b/tls/gnutls/gtlsoperationsthread-gnutls.c
index 29a91be..39185eb 100644
--- a/tls/gnutls/gtlsoperationsthread-gnutls.c
+++ b/tls/gnutls/gtlsoperationsthread-gnutls.c
@@ -1267,12 +1267,12 @@ retrieve_certificate_cb (gnutls_session_t              session,
   GByteArray *dn;
   int i;
 
-  /* FIXME: Here we are supposed to ensure that the certificate supports one of
-   * the algorithms given in pk_algos.
-   */
-
   if (is_client (self))
     {
+      /* FIXME: Here we are supposed to ensure that the certificate supports one
+       * of the algorithms given in pk_algos.
+       */
+
       if (self->accepted_cas)
         {
           g_list_free_full (self->accepted_cas, (GDestroyNotify)g_byte_array_unref);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]