Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
ad81f650
Commit
ad81f650
authored
Feb 26, 2017
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tls: remove transitional vlc_tls_ServerSessionCreateFD()
parent
5e898d9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
include/vlc_tls.h
include/vlc_tls.h
+0
-15
No files found.
include/vlc_tls.h
View file @
ad81f650
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment