PORTNAME= libsrtp
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.1
DISTVERSION= 2.4.2
CATEGORIES= net
PKGNAMESUFFIX= 2
post-patch:
@${REINPLACE_CMD} '/supported_cflags=.*-fPIC/d' ${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsrtp2.so.1
.include <bsd.port.mk>
TIMESTAMP = 1631988977
TIMESTAMP = 1632244600
SHA256 (cisco-libsrtp-v2.4.1_GH0.tar.gz) = 3cb580928fcd502426809c68406d04aaa5ef1af7ebb0a3a41a52a13576f2fc07
SHA256 (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 3b1bcb14ebda572b04b9bdf07574a449c84cb924905414e4d94e62837d22b628
SIZE (cisco-libsrtp-v2.4.1_GH0.tar.gz) = 631328
SIZE (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 631393
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;
}