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