mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
net/libsrtp2: Update to 2.5.0
This commit is contained in:
parent
6df2cfbdbd
commit
7a132f38d3
4 changed files with 4 additions and 34 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= libsrtp
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.4.2
|
||||
DISTVERSION= 2.5.0
|
||||
CATEGORIES= net
|
||||
PKGNAMESUFFIX= 2
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1632244600
|
||||
SHA256 (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 3b1bcb14ebda572b04b9bdf07574a449c84cb924905414e4d94e62837d22b628
|
||||
SIZE (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 631393
|
||||
TIMESTAMP = 1675429915
|
||||
SHA256 (cisco-libsrtp-v2.5.0_GH0.tar.gz) = 8a43ef8e9ae2b665292591af62aa1a4ae41e468b6d98d8258f91478735da4e09
|
||||
SIZE (cisco-libsrtp-v2.5.0_GH0.tar.gz) = 638704
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
--- crypto/hash/hmac_ossl.c.orig 2022-10-17 11:30:42 UTC
|
||||
+++ crypto/hash/hmac_ossl.c
|
||||
@@ -80,7 +80,7 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t *
|
||||
|
||||
/* 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 || LIBRESSL_VERSION_NUMBER
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
{
|
||||
/* allocate memory for auth and HMAC_CTX structures */
|
||||
uint8_t *pointer;
|
||||
@@ -126,7 +126,7 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t
|
||||
|
||||
hmac_ctx = (HMAC_CTX *)a->state;
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
HMAC_CTX_cleanup(hmac_ctx);
|
||||
|
||||
/* zeroize entire state*/
|
|
@ -1,10 +0,0 @@
|
|||
--- libsrtp2.pc.in.orig 2014-12-30 16:27:06 UTC
|
||||
+++ libsrtp2.pc.in
|
||||
@@ -7,5 +7,6 @@ Name: @PACKAGE_NAME@
|
||||
Version: @PACKAGE_VERSION@
|
||||
Description: Library for SRTP (Secure Realtime Transport Protocol)
|
||||
|
||||
-Libs: -L${libdir} -lsrtp2 @LIBS@
|
||||
+Libs: -L${libdir} -lsrtp2
|
||||
+Libs.private: -lcrypto
|
||||
Cflags: -I${includedir}
|
Loading…
Add table
Reference in a new issue