summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Thomson <mt@lowentropy.net>2021-05-06 07:33:59 +0000
committerMartin Thomson <mt@lowentropy.net>2021-05-06 07:33:59 +0000
commit74f3abab7e009ec43618dc046141e08b4401756f (patch)
treebc0c59a75f1d185a77b1c0e8ef6f1a4dc9130163
parente1529163e5579af872b6a3e08a8e010421017c4b (diff)
downloadnss-hg-74f3abab7e009ec43618dc046141e08b4401756f.tar.gz
Bug 1709750 - Disable HPKE test when fuzzing, r=bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D114443
-rw-r--r--gtests/pk11_gtest/pk11_hpke_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtests/pk11_gtest/pk11_hpke_unittest.cc b/gtests/pk11_gtest/pk11_hpke_unittest.cc
index 0e1e9df45..18c59e6a5 100644
--- a/gtests/pk11_gtest/pk11_hpke_unittest.cc
+++ b/gtests/pk11_gtest/pk11_hpke_unittest.cc
@@ -4,6 +4,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef UNSAFE_FUZZER_MODE // See Bug 1709750
+
#include <memory>
#include "blapi.h"
#include "gtest/gtest.h"
@@ -683,3 +685,5 @@ TEST_F(ModeParameterizedTest, InvalidReceiverKeyType) {
}
} // namespace nss_test
+
+#endif