diff options
author | Kai Engert <kaie@kuix.de> | 2017-12-04 13:07:43 +0100 |
---|---|---|
committer | Kai Engert <kaie@kuix.de> | 2017-12-04 13:07:43 +0100 |
commit | 645c10435ba9adb85a42e2e138b3f55f0aecf985 (patch) | |
tree | 7299fcea6f29b65471e1074c4b79164d67921386 | |
parent | ee94b0c0ded63a45ceef6b688aa010af3b700389 (diff) | |
download | nss-hg-645c10435ba9adb85a42e2e138b3f55f0aecf985.tar.gz |
Bug 1417331, disable keylog tests if keylogfile is disabled, r=mt
-rw-r--r-- | gtests/ssl_gtest/ssl_keylog_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtests/ssl_gtest/ssl_keylog_unittest.cc b/gtests/ssl_gtest/ssl_keylog_unittest.cc index 029fe0048..70f2bd3b1 100644 --- a/gtests/ssl_gtest/ssl_keylog_unittest.cc +++ b/gtests/ssl_gtest/ssl_keylog_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/. */ +#ifdef NSS_ALLOW_SSLKEYLOGFILE + #include <cstdlib> #include <fstream> #include <sstream> @@ -112,3 +114,5 @@ INSTANTIATE_TEST_CASE_P( #endif } // namespace nss_test + +#endif // NSS_ALLOW_SSLKEYLOGFILE |