Commit 3ed66bc1 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Rafaël Carré

gnutls: replace deprecated types

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent b27c4c7c
...@@ -428,7 +428,7 @@ static void gnutls_x509_AddFD (vlc_object_t *obj, ...@@ -428,7 +428,7 @@ static void gnutls_x509_AddFD (vlc_object_t *obj,
block_t *block = block_File (fd); block_t *block = block_File (fd);
if (block != NULL) if (block != NULL)
{ {
gnutls_datum data = { gnutls_datum_t data = {
.data = block->p_buffer, .data = block->p_buffer,
.size = block->i_buffer, .size = block->i_buffer,
}; };
...@@ -451,7 +451,7 @@ static void gnutls_x509_AddFD (vlc_object_t *obj, ...@@ -451,7 +451,7 @@ static void gnutls_x509_AddFD (vlc_object_t *obj,
} }
static void gnutls_x509_AddPath (vlc_object_t *obj, static void gnutls_x509_AddPath (vlc_object_t *obj,
gnutls_certificate_credentials cred, gnutls_certificate_credentials_t cred,
const char *path, bool priv) const char *path, bool priv)
{ {
msg_Dbg (obj, "loading x509 credentials in %s...", path); msg_Dbg (obj, "loading x509 credentials in %s...", path);
......
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