[vlc-commits] remove vlc_tls_ClientSessionCreateFD

Francois Cartegnie git at videolan.org
Mon Feb 26 21:39:53 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 26 21:37:17 2018 +0100| [e3ec9f5c402026ea36fcb0a9244a24ed111194cf] | committer: Francois Cartegnie

remove vlc_tls_ClientSessionCreateFD

was only remaining there for previous adaptive code

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

 include/vlc_tls.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/include/vlc_tls.h b/include/vlc_tls.h
index 92562b5e11..a13471598f 100644
--- a/include/vlc_tls.h
+++ b/include/vlc_tls.h
@@ -332,21 +332,6 @@ VLC_API vlc_tls_t *vlc_tls_SocketOpenTLS(vlc_tls_creds_t *crd,
                                          const char *service,
                                          const char *const *alpn, char **alp);
 
-VLC_DEPRECATED
-static inline vlc_tls_t *
-vlc_tls_ClientSessionCreateFD(vlc_tls_creds_t *crd, int fd, const char *host,
-                              const char *srv, const char *const *lp, char **p)
-{
-    vlc_tls_t *sock = vlc_tls_SocketOpen(fd);
-    if (unlikely(sock == NULL))
-        return NULL;
-
-    vlc_tls_t *tls = vlc_tls_ClientSessionCreate(crd, sock, host, srv, lp, p);
-    if (unlikely(tls == NULL))
-        free(sock);
-    return tls;
-}
-
 /** @} */
 
 #endif



More information about the vlc-commits mailing list