From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A10B7158020 for ; Sat, 15 Oct 2022 19:34:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 872C3E08CD; Sat, 15 Oct 2022 19:34:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72F96E08CD for ; Sat, 15 Oct 2022 19:34:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BEFC340FF7 for ; Sat, 15 Oct 2022 19:34:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32BE8619 for ; Sat, 15 Oct 2022 19:34:05 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1665862428.c5627b516bf8c355a5d652678ec5bf80471654fb.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libsrtp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libsrtp/files/libsrtp-2.3.0-gcc-10.patch net-libs/libsrtp/files/libsrtp-2.3.0-nss.patch net-libs/libsrtp/files/libsrtp-2.3.0-rtp-header.patch X-VCS-Directories: net-libs/libsrtp/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c5627b516bf8c355a5d652678ec5bf80471654fb X-VCS-Branch: master Date: Sat, 15 Oct 2022 19:34:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d2985b54-6daf-4386-9a5d-af817ab9a1ab X-Archives-Hash: 1e3fd90ec8862249ff0ed4300fd189ef commit: c5627b516bf8c355a5d652678ec5bf80471654fb Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Oct 15 08:01:55 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Oct 15 19:33:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5627b51 net-libs/libsrtp: remove unused patches Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/27794 Signed-off-by: Conrad Kostecki gentoo.org> net-libs/libsrtp/files/libsrtp-2.3.0-gcc-10.patch | 26 ---------------------- net-libs/libsrtp/files/libsrtp-2.3.0-nss.patch | 12 ---------- .../libsrtp/files/libsrtp-2.3.0-rtp-header.patch | 24 -------------------- 3 files changed, 62 deletions(-) diff --git a/net-libs/libsrtp/files/libsrtp-2.3.0-gcc-10.patch b/net-libs/libsrtp/files/libsrtp-2.3.0-gcc-10.patch deleted file mode 100644 index 67d4ad86d516..000000000000 --- a/net-libs/libsrtp/files/libsrtp-2.3.0-gcc-10.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/crypto/math/datatypes.c b/crypto/math/datatypes.c -index 001584c..4fcb396 100644 ---- a/crypto/math/datatypes.c -+++ b/crypto/math/datatypes.c -@@ -79,7 +79,7 @@ int octet_get_weight(uint8_t octet) - - /* the value MAX_PRINT_STRING_LEN is defined in datatypes.h */ - --char bit_string[MAX_PRINT_STRING_LEN]; -+static char bit_string[MAX_PRINT_STRING_LEN]; - - uint8_t srtp_nibble_to_hex_char(uint8_t nibble) - { -diff --git a/test/util.c b/test/util.c -index 2abc28e..c0f7614 100644 ---- a/test/util.c -+++ b/test/util.c -@@ -49,7 +49,7 @@ - #include - - /* include space for null terminator */ --char bit_string[MAX_PRINT_STRING_LEN + 1]; -+static char bit_string[MAX_PRINT_STRING_LEN + 1]; - - static inline int hex_char_to_nibble(uint8_t c) - { diff --git a/net-libs/libsrtp/files/libsrtp-2.3.0-nss.patch b/net-libs/libsrtp/files/libsrtp-2.3.0-nss.patch deleted file mode 100644 index 6f71839e69da..000000000000 --- a/net-libs/libsrtp/files/libsrtp-2.3.0-nss.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/crypto/cipher/aes_gcm_nss.c b/crypto/cipher/aes_gcm_nss.c -index 54547cd..ecbba64 100644 ---- a/crypto/cipher/aes_gcm_nss.c -+++ b/crypto/cipher/aes_gcm_nss.c -@@ -284,6 +284,7 @@ static srtp_err_status_t srtp_aes_gcm_nss_do_crypto(void *cv, - - c->params.pIv = c->iv; - c->params.ulIvLen = GCM_IV_LEN; -+ c->params.ulIvBits = 8 * GCM_IV_LEN; - c->params.pAAD = c->aad; - c->params.ulAADLen = c->aad_size; - diff --git a/net-libs/libsrtp/files/libsrtp-2.3.0-rtp-header.patch b/net-libs/libsrtp/files/libsrtp-2.3.0-rtp-header.patch deleted file mode 100644 index 096b19e8f344..000000000000 --- a/net-libs/libsrtp/files/libsrtp-2.3.0-rtp-header.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 55299517f39e2e1a34df05c27cbc9898071ac9db Mon Sep 17 00:00:00 2001 -From: Lennart Grahl -Date: Mon, 18 May 2020 18:01:08 +0200 -Subject: [PATCH] Fix two-byte RTP header extension encryption - -Also ignores the application bits as required by RFC 8285, sec 4.3 -Fixes #490 ---- - srtp/srtp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/srtp/srtp.c b/srtp/srtp.c -index b45cee0f..176b01f0 100644 ---- a/srtp/srtp.c -+++ b/srtp/srtp.c -@@ -1423,7 +1423,7 @@ static srtp_err_status_t srtp_process_header_encryption( - xtn_hdr_data++; - } - } -- } else if ((ntohs(xtn_hdr->profile_specific) & 0x1fff) == 0x100) { -+ } else if ((ntohs(xtn_hdr->profile_specific) & 0xfff0) == 0x1000) { - /* RFC 5285, section 4.3. Two-Byte Header */ - while (xtn_hdr_data + 1 < xtn_hdr_end) { - uint8_t xid = *xtn_hdr_data;