[vlc-commits] gnutls: fix warning

Rémi Denis-Courmont git at videolan.org
Mon Jul 24 18:32:26 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 24 19:25:24 2017 +0300| [7046c818578468a77f6406ced3b97883fe61cf95] | committer: Rémi Denis-Courmont

gnutls: fix warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7046c818578468a77f6406ced3b97883fe61cf95
---

 modules/misc/gnutls.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index a8b91a5bb2..f0fea1add8 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -524,6 +524,7 @@ static int gnutls_ClientHandshake(vlc_tls_creds_t *creds, vlc_tls_t *tls,
         case 1:
             time (&expiry);
             expiry += 24 * 60 * 60;
+            /* fall through */
         case 2:
             val = gnutls_store_pubkey (NULL, NULL, host, service,
                                        GNUTLS_CRT_X509, datum, expiry, 0);



More information about the vlc-commits mailing list