diff options
author | Edward Hervey <edward@centricular.com> | 2019-11-06 15:07:44 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2019-11-08 10:43:08 +0000 |
commit | b55f380b20f9a1d4d11f92ef5da603f83d250cd6 (patch) | |
tree | 23a4585f01f16fa7f9c16b44beba2f34485b6d86 /ext/hls/gsthlsdemux.c | |
parent | 7bceb6c3ff6e24663cfab1432157a2634fbee5ff (diff) | |
download | gstreamer-plugins-bad-b55f380b20f9a1d4d11f92ef5da603f83d250cd6.tar.gz |
hlsdemux: Don't use deprecated SSL methods
And instead use the fixed-size variants (which aren't deprecated)
Diffstat (limited to 'ext/hls/gsthlsdemux.c')
-rw-r--r-- | ext/hls/gsthlsdemux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index b5fe60e91..6b9c7836c 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -1735,7 +1735,7 @@ static gboolean gst_hls_demux_stream_decrypt_start (GstHLSDemuxStream * stream, const guint8 * key_data, const guint8 * iv_data) { - aes_set_decrypt_key (&stream->aes_ctx.ctx, 16, key_data); + aes128_set_decrypt_key (&stream->aes_ctx.ctx, key_data); CBC_SET_IV (&stream->aes_ctx, iv_data); return TRUE; @@ -1748,7 +1748,7 @@ decrypt_fragment (GstHLSDemuxStream * stream, gsize length, if (length % 16 != 0) return FALSE; - CBC_DECRYPT (&stream->aes_ctx, aes_decrypt, length, decrypted_data, + CBC_DECRYPT (&stream->aes_ctx, aes128_decrypt, length, decrypted_data, encrypted_data); return TRUE; |