From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id C8FC140D3B for ; Sun, 13 Jul 2025 19:25:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 21F9568E325; Sun, 13 Jul 2025 22:25:32 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id D7160687DAF for ; Sun, 13 Jul 2025 22:25:22 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 52C0827FFCCAB; Sun, 13 Jul 2025 21:25:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1752434722; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lXfTae8FBQh+1P0EWXxBuOk64H3Wut65oPUME3FqBiM=; b=YA2g8lITZLQnkxk2RnFCBsa6sqPptSHQCjqaGKjw1d5/O3sr4awyWf8WfIEcs8aSDyuXJC MN5itwPFIvuOqMV8EsksoVS9d/7hWpHeep/4o18+Tu/SwrXtL/PKCQw+BZea3kzj8tzK1E xHYjO1LOJy0bEfI86vrr9izI6TkTLKTb1SiDWg/Kd50RIBsCk50nvHdpn/rONu8Qm5T0TS 3Y46or/0v2JsVUSfPzxB1guk9y5hGI2TxZmZUWs8qlP2nKAJWJhLGAXXjl6hqFL49kLF5Z dzRdktNSvOnWx+x8HxiUpZ2lUwp2UwG6qhQrRPHUdATj132XXjvE2vUM4ynChw== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Sun, 13 Jul 2025 21:24:37 +0200 Message-ID: <20250713192512.928390-3-timo@rothenpieler.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250713192512.928390-1-timo@rothenpieler.org> References: <20250713192512.928390-1-timo@rothenpieler.org> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 03/14] avformat/tls_openssl: don't abort if dtls has no key/cert set X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Timo Rothenpieler Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- 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-request@ffmpeg.org with subject "unsubscribe".