blob: 5e0fffd0a65afff2b873e3d561055fe6fa379fcc [file] [log] [blame]
#! /bin/sh
# Copyright 2021 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.
case "$(tpm_version_client)" in
0) echo "No TPM."
;;
1) tpm1_version
;;
2) tpm2_version
;;
*) echo "Unknown TPM."
esac