forked from Lainports/opnsense-ports
net/libsrtp2: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
e4b4d02822
commit
2e24ebb089
3 changed files with 7 additions and 17 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= libsrtp
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.4.1
|
||||
DISTVERSION= 2.4.2
|
||||
CATEGORIES= net
|
||||
PKGNAMESUFFIX= 2
|
||||
|
||||
|
|
@ -28,4 +28,7 @@ TEST_ENV= LD_LIBRARY_PATH=${WRKSRC}
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} '/supported_cflags=.*-fPIC/d' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsrtp2.so.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1631988977
|
||||
SHA256 (cisco-libsrtp-v2.4.1_GH0.tar.gz) = 3cb580928fcd502426809c68406d04aaa5ef1af7ebb0a3a41a52a13576f2fc07
|
||||
SIZE (cisco-libsrtp-v2.4.1_GH0.tar.gz) = 631328
|
||||
TIMESTAMP = 1632244600
|
||||
SHA256 (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 3b1bcb14ebda572b04b9bdf07574a449c84cb924905414e4d94e62837d22b628
|
||||
SIZE (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 631393
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/srtp/srtp.c b/srtp/srtp.c
|
||||
index c7f6bb9f..dbb09909 100644
|
||||
--- srtp/srtp.c
|
||||
+++ srtp/srtp.c
|
||||
@@ -788,7 +788,7 @@ static inline int full_key_length(const srtp_cipher_type_t *cipher)
|
||||
case SRTP_AES_GCM_128:
|
||||
return SRTP_AES_GCM_128_KEY_LEN_WSALT;
|
||||
case SRTP_AES_GCM_256:
|
||||
- return SRTP_AES_ICM_256_KEY_LEN_WSALT;
|
||||
+ return SRTP_AES_GCM_256_KEY_LEN_WSALT;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue