--- libavformat/tls_openssl.c | 8 -------- 1 file changed, 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: -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".