[vlc-commits] tls: remove transitional vlc_tls_ServerSessionCreateFD()

Rémi Denis-Courmont git at videolan.org
Sun Feb 26 14:38:57 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 26 15:38:54 2017 +0200| [ad81f650dc78ca3217fe17228d11bf1f06d4db66] | committer: Rémi Denis-Courmont

tls: remove transitional vlc_tls_ServerSessionCreateFD()

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

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

diff --git a/include/vlc_tls.h b/include/vlc_tls.h
index de5e90c..38c0280 100644
--- a/include/vlc_tls.h
+++ b/include/vlc_tls.h
@@ -335,21 +335,6 @@ vlc_tls_ClientSessionCreateFD(vlc_tls_creds_t *crd, int fd, const char *host,
     return tls;
 }
 
-VLC_DEPRECATED
-static inline vlc_tls_t *
-vlc_tls_ServerSessionCreateFD(vlc_tls_creds_t *crd, int fd,
-                              const char *const *alp)
-{
-    vlc_tls_t *sock = vlc_tls_SocketOpen(fd);
-    if (unlikely(sock == NULL))
-        return NULL;
-
-    vlc_tls_t *tls = vlc_tls_ServerSessionCreate(crd, sock, alp);
-    if (unlikely(tls == NULL))
-        free(sock);
-    return tls;
-}
-
 /** @} */
 
 #endif



More information about the vlc-commits mailing list