From 308813b5fe315582fd396dd1d9e1270e640bebfa Mon Sep 17 00:00:00 2001 From: Jim Hebert Date: Thu, 12 Jul 2012 15:07:34 -0700 Subject: [PATCH] Faux-enable the sslkeylogfile use flag on test images BUG=chromium-os:32430 TEST=built dev & test images Confirmed use flag not normally present, and is added by mod-for-test to test images. Change-Id: I1c7f7a6e2f987328c5b9348063b584ff79a3a9df Reviewed-on: https://gerrit.chromium.org/gerrit/27326 Tested-by: Jim Hebert Reviewed-by: Chris Masone Reviewed-by: Kees Cook Commit-Ready: Jim Hebert --- mod_for_test_scripts/760enableSslKeyLogFile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 mod_for_test_scripts/760enableSslKeyLogFile diff --git a/mod_for_test_scripts/760enableSslKeyLogFile b/mod_for_test_scripts/760enableSslKeyLogFile new file mode 100755 index 0000000000..67c68086c1 --- /dev/null +++ b/mod_for_test_scripts/760enableSslKeyLogFile @@ -0,0 +1,14 @@ +#!/bin/bash + +# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# session_manager_setup.sh checks for this USE flag. +# TODO(jimhebert) Once crosbug.com/13429 is fixed and test-builds can +# be produced with different USE flags, we can eliminate this +# mod_for_test script in favor of a real USE flag for +# chromeos-base/chromeos-login. +echo "Enabling use of SSLKEYLOGFILE in Chrome." +echo dangerous_sslkeylogfile >> \ + "${ROOT_FS_DIR}/etc/session_manager_use_flags.txt"