Timo Rothenpieler
4fc806bbe6
lavf/tls_mbedtls: add support for mbedtls version 3
...
- certs.h is gone. Only contains test data, and was not used at all.
- config.h is renamed. Was seemingly not used, so can be removed.
- MBEDTLS_ERR_SSL_NO_USABLE_CIPHERSUITE is gone, instead
MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE will be thrown.
- mbedtls_pk_parse_keyfile now needs to be passed a properly seeded
RNG. Hence, move the call to after RNG seeding.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2022-04-27 18:43:01 +02:00
sfan5
65197e9c98
lavf/tls_mbedtls: fix handling of tls_verify=0
...
If ca_file was set, setting tls_verify=0 would not actually disable
verification.
2021-12-30 19:32:34 +02:00
Martin Storsjö
70d8077b79
tls: Hook up the url_get_short_seek function in the TLS backends
...
This makes sure that small seeks forward on https don't end up
doing new requests.
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-11-05 09:22:17 +02:00
Jun Zhao
36083450a4
lavf/tls_mbedtls: fix resource leak
...
fix resource leak in mbedtls part.
fix #8614
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-04-22 12:41:29 +08:00
James Almer
fb4a12cda4
Merge commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5'
...
* commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5':
tls_mbedtls: Use non-deprecated header file
Merged-by: James Almer <jamrial@gmail.com>
2018-09-02 19:10:14 -03:00
Thomas Volkert
c24d247e2c
libavformat: add mbedTLS based TLS
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-05-21 19:43:04 -03:00
Diego Biurrun
e368b0cbfa
tls_mbedtls: Use non-deprecated header file
...
/usr/include/mbedtls/net.h:29:2: warning: #warning "Deprecated header file: Superseded by mbedtls/net_sockets.h" [-Wcpp]
2018-04-26 11:27:08 +02:00
Thomas Volkert
4130e05ff4
libavformat: add mbedTLS based TLS
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2018-04-25 10:34:12 +02:00
Rostislav Pehlivanov
4ac0ff8ec2
Revert "libavformat: add mbedTLS based TLS"
...
This reverts commit 62f5c9d68b
,
which was pushed a bit prematurely.
2018-04-23 20:29:02 +01:00
Thomas Volkert
62f5c9d68b
libavformat: add mbedTLS based TLS
2018-04-23 20:48:11 +02:00