summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-07-10 17:20:47 -0700
committerSam James <sam@gentoo.org>2022-07-12 03:45:41 +0100
commitdceb2fc02acc0d2d9ee2c740ca8010c066334cc6 (patch)
tree7a0c17f7db6ea2bc66ffac861a20fbc89dcb7a8b /net-libs/libsrtp
parentapp-crypt/tpm-tools: Remove libressl support (diff)
downloadgentoo-dceb2fc02acc0d2d9ee2c740ca8010c066334cc6.tar.gz
gentoo-dceb2fc02acc0d2d9ee2c740ca8010c066334cc6.tar.bz2
gentoo-dceb2fc02acc0d2d9ee2c740ca8010c066334cc6.zip
net-libs/libsrtp: Remove libressl support
This removes outdated libressl checks from the openssl-1.1.patch which are no longer required for the libressl overlay. Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libsrtp')
-rw-r--r--net-libs/libsrtp/files/libsrtp-1.6.0-openssl-1.1.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-libs/libsrtp/files/libsrtp-1.6.0-openssl-1.1.patch b/net-libs/libsrtp/files/libsrtp-1.6.0-openssl-1.1.patch
index 5d17cb426e88..9ca172688b5b 100644
--- a/net-libs/libsrtp/files/libsrtp-1.6.0-openssl-1.1.patch
+++ b/net-libs/libsrtp/files/libsrtp-1.6.0-openssl-1.1.patch
@@ -217,7 +217,7 @@ Backport of https://github.com/cisco/libsrtp/commit/0b45423678ddc46d702f3a51614f
- if (pointer == NULL) {
+/* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated
+ using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ {
+ /* allocate memory for auth and HMAC_CTX structures */
+ uint8_t* pointer;
@@ -263,7 +263,7 @@ Backport of https://github.com/cisco/libsrtp/commit/0b45423678ddc46d702f3a51614f
hmac_ctx = (HMAC_CTX*)a->state;
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
HMAC_CTX_cleanup(hmac_ctx);
/* zeroize entire state*/
@@ -318,7 +318,7 @@ Backport of https://github.com/cisco/libsrtp/commit/0b45423678ddc46d702f3a51614f
+/* OpenSSL 1.1.0 made EVP_MD_CTX an opaque structure, which must be allocated
+ using EVP_MD_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+
+typedef EVP_MD_CTX sha1_ctx_t;
+