Blame SOURCES/webrtc-nss-fix.patch
|
|
a47f18 |
diff -up firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c.webrtc-fix firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c
|
|
|
a47f18 |
--- firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c.webrtc-fix 2022-10-04 18:58:30.563683229 +0200
|
|
|
a47f18 |
+++ firefox-102.3.0/third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c 2022-10-04 18:58:44.583652963 +0200
|
|
|
a47f18 |
@@ -293,7 +293,7 @@ static srtp_err_status_t srtp_aes_gcm_ns
|
|
|
a47f18 |
|
|
|
a47f18 |
int rv;
|
|
|
a47f18 |
SECItem param = { siBuffer, (unsigned char *)&c->params,
|
|
|
a47f18 |
- sizeof(CK_GCM_PARAMS) };
|
|
|
a47f18 |
+ sizeof(CK_NSS_GCM_PARAMS) };
|
|
|
a47f18 |
if (encrypt) {
|
|
|
a47f18 |
rv = PK11_Encrypt(c->key, CKM_AES_GCM, ¶m, buf, enc_len,
|
|
|
a47f18 |
*enc_len + 16, buf, *enc_len);
|
|
|
a47f18 |
diff -up firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h.webrtc-fix firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h
|
|
|
a47f18 |
--- firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h.webrtc-fix 2022-10-04 18:59:16.635583764 +0200
|
|
|
a47f18 |
+++ firefox-102.3.0/third_party/libsrtp/src/crypto/include/aes_gcm.h 2022-10-04 18:59:31.848550924 +0200
|
|
|
a47f18 |
@@ -101,7 +101,7 @@ typedef struct {
|
|
|
a47f18 |
uint8_t iv[12];
|
|
|
a47f18 |
uint8_t aad[MAX_AD_SIZE];
|
|
|
a47f18 |
int aad_size;
|
|
|
a47f18 |
- CK_GCM_PARAMS params;
|
|
|
a47f18 |
+ CK_NSS_GCM_PARAMS params;
|
|
|
a47f18 |
uint8_t tag[16];
|
|
|
a47f18 |
} srtp_aes_gcm_ctx_t;
|
|
|
a47f18 |
|
|
|
a47f18 |
diff -up firefox-102.3.0/third_party/prio/prio/encrypt.c.webrtc-fix firefox-102.3.0/third_party/prio/prio/encrypt.c
|