Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: tpm/tpm_transport.c

Issue 660204: Upgrade to tpm-emulator version 0.7. (Closed)
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tpm/tpm_ticks.c ('k') | tpmd/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tpm/tpm_transport.c
diff --git a/tpm/tpm_transport.c b/tpm/tpm_transport.c
index 372014ca6c843e4e77b6803667742f001bfb8713..95724d5f4ef644f6ad313f2c4e27449203bd346f 100644
--- a/tpm/tpm_transport.c
+++ b/tpm/tpm_transport.c
@@ -1,6 +1,5 @@
-/* Software-Based Trusted Platform Module (TPM) Emulator for Linux
- * Copyright (C) 2004 Mario Strasser <mast@gmx.net>,
- * Swiss Federal Institute of Technology (ETH) Zurich
+/* Software-based Trusted Platform Module (TPM) Emulator
+ * Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
*
* This module is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
@@ -12,7 +11,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * $Id$
+ * $Id: tpm_transport.c 367 2010-02-13 15:52:18Z mast $
*/
/*
@@ -246,7 +245,7 @@ static void compute_key_digest(TPM_REQUEST *req, TPM_DIGEST *digest)
tpm_sha1_ctx_t ctx;
TPM_HANDLE h1, h2;
TPM_KEY_DATA *k1, *k2;
- BYTE *ptr, buf[4];
+ BYTE *ptr;
UINT32 len, offset = tpm_get_in_param_offset(req->ordinal);
/* handle some exceptions */
if (req->ordinal == TPM_ORD_FlushSpecific) offset = 0;
« no previous file with comments | « tpm/tpm_ticks.c ('k') | tpmd/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698