summaryrefslogtreecommitdiffstats
path: root/net/third_party/nss/patches/aes256keylength.patch
blob: e77e16eb44a4490b6b0ba2596558596b9f5095b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.
 */