| Index: net/third_party/nss/patches/aesgcmchromium.patch
|
| diff --git a/net/third_party/nss/patches/aesgcmchromium.patch b/net/third_party/nss/patches/aesgcmchromium.patch
|
| index 8549c35286ef10302131cd1706627665f7cbf616..03c808bb98a1c9c710a3f2b23ecedf503988a4b0 100644
|
| --- a/net/third_party/nss/patches/aesgcmchromium.patch
|
| +++ b/net/third_party/nss/patches/aesgcmchromium.patch
|
| @@ -31,14 +31,8 @@ diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
|
| +#ifdef LINUX
|
| + /* On Linux we use the system NSS libraries. Look up the PK11_Encrypt and
|
| + * PK11_Decrypt functions at run time. */
|
| -+ void *handle = dlopen(NULL, RTLD_LAZY);
|
| -+ if (!handle) {
|
| -+ PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
|
| -+ return PR_FAILURE;
|
| -+ }
|
| -+ pk11_encrypt = (PK11CryptFcn)dlsym(handle, "PK11_Encrypt");
|
| -+ pk11_decrypt = (PK11CryptFcn)dlsym(handle, "PK11_Decrypt");
|
| -+ dlclose(handle);
|
| ++ pk11_encrypt = (PK11CryptFcn)dlsym(RTLD_DEFAULT, "PK11_Encrypt");
|
| ++ pk11_decrypt = (PK11CryptFcn)dlsym(RTLD_DEFAULT, "PK11_Decrypt");
|
| + return PR_SUCCESS;
|
| +#else
|
| + /* On other platforms we use our own copy of NSS. PK11_Encrypt and
|
|
|