Commit ad81f650 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

tls: remove transitional vlc_tls_ServerSessionCreateFD()

parent 5e898d9d
......@@ -335,21 +335,6 @@ vlc_tls_ClientSessionCreateFD(vlc_tls_creds_t *crd, int fd, const char *host,
return tls;
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))
return tls;
/** @} */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment