diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2025-07-12 22:07:39 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2025-07-16 18:46:55 +0200 |
commit | db0adbbd3fcf0dc058d86d1f2bd29eb8c5f5880c (patch) | |
tree | 35dfcac551593b2c5c713f3429e2a64aa25e2a14 /libavformat/tls_openssl.c | |
parent | 951013e6030cd6008ee629df97296b549bb62d97 (diff) | |
download | ffmpeg-db0adbbd3fcf0dc058d86d1f2bd29eb8c5f5880c.tar.gz |
avformat/tls_openssl: don't abort if dtls has no key/cert set
Diffstat (limited to 'libavformat/tls_openssl.c')
-rw-r--r-- | libavformat/tls_openssl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c index 54213c4090..81b2f066c9 100644 --- a/libavformat/tls_openssl.c +++ b/libavformat/tls_openssl.c @@ -743,10 +743,6 @@ static av_cold int openssl_init_ca_key_cert(URLContext *h) ret = AVERROR(EINVAL); return ret; } - } else if (c->is_dtls){ - av_log(p, AV_LOG_ERROR, "TLS: Init cert failed, %s\n", openssl_get_error(p)); - ret = AVERROR(EINVAL); - goto fail; } if (c->key_file) { @@ -764,10 +760,6 @@ static av_cold int openssl_init_ca_key_cert(URLContext *h) ret = AVERROR(EINVAL); return ret; } - } else if (c->is_dtls) { - av_log(p, AV_LOG_ERROR, "TLS: Init pkey failed, %s\n", openssl_get_error(p)); - ret = AVERROR(EINVAL); - goto fail; } ret = 0; fail: |