summaryrefslogtreecommitdiffstats
path: root/base/crypto/signature_creator_nss.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/crypto/signature_creator_nss.cc')
-rw-r--r--base/crypto/signature_creator_nss.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/crypto/signature_creator_nss.cc b/base/crypto/signature_creator_nss.cc
index e0de4b7..3ca4ff7 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"