Index: base/crypto/signature_creator_nss.cc |
diff --git a/base/crypto/signature_creator_nss.cc b/base/crypto/signature_creator_nss.cc |
index e0de4b7880692f5b4249c103fc12952608e6b6e8..3ca4ff7a8f87e0a7f2164ad4dae2de166dbc9d5c 100644 |
--- a/base/crypto/signature_creator_nss.cc |
+++ b/base/crypto/signature_creator_nss.cc |
@@ -4,9 +4,13 @@ |
#include "base/crypto/signature_creator.h" |
+// Work around https://bugzilla.mozilla.org/show_bug.cgi?id=455424 |
+// until NSS 3.12.2 comes out and we update to it. |
+#define Lock FOO_NSS_Lock |
#include <cryptohi.h> |
#include <keyhi.h> |
#include <stdlib.h> |
+#undef Lock |
#include "base/logging.h" |
#include "base/nss_init.h" |