diff options
Diffstat (limited to 'net/third_party/nss/patches')
-rw-r--r-- | net/third_party/nss/patches/aes256keylength.patch | 15 | ||||
-rwxr-xr-x | net/third_party/nss/patches/applypatches.sh | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net/third_party/nss/patches/aes256keylength.patch b/net/third_party/nss/patches/aes256keylength.patch new file mode 100644 index 0000000..e77e16e --- /dev/null +++ b/net/third_party/nss/patches/aes256keylength.patch @@ -0,0 +1,15 @@ +diff -pu a/nss/lib/ssl/sslsnce.c b/nss/lib/ssl/sslsnce.c +--- a/nss/lib/ssl/sslsnce.c 2013-04-27 09:17:17.216390477 -0700 ++++ b/nss/lib/ssl/sslsnce.c 2013-04-27 09:41:36.887048239 -0700 +@@ -87,6 +87,11 @@ + #include "nspr.h" + #include "sslmutex.h" + ++/* AES_256_KEY_LENGTH was added to blapit.h in NSS 3.12.10. */ ++#ifndef AES_256_KEY_LENGTH ++#define AES_256_KEY_LENGTH 32 /* bytes */ ++#endif ++ + /* + ** Format of a cache entry in the shared memory. + */ diff --git a/net/third_party/nss/patches/applypatches.sh b/net/third_party/nss/patches/applypatches.sh index aee9fb0..e8d9f5f 100755 --- a/net/third_party/nss/patches/applypatches.sh +++ b/net/third_party/nss/patches/applypatches.sh @@ -38,6 +38,8 @@ patch -p4 < $patches_dir/secretexporterlocks.patch patch -p4 < $patches_dir/cbc.patch +patch -p4 < $patches_dir/aes256keylength.patch + patch -p4 < $patches_dir/suitebonly.patch patch -p4 < $patches_dir/secitemarray.patch |