]> git.proxmox.com Git - libtpms.git/commitdiff
rev164: Rename DebugFileOpen to DebugFileInit
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 22 Feb 2021 20:50:57 +0000 (15:50 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 19 Mar 2021 19:59:52 +0000 (15:59 -0400)
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
src/tpm2/AttestationCommands.c
src/tpm2/DebugHelpers.c
src/tpm2/DebugHelpers_fp.h

index a7286ec5d7c8dbb3a9c3a22dc3659ff987bc44b3..9df4315eb970e2d2795eefb5d3fe1cb095280497 100644 (file)
@@ -3,7 +3,7 @@
 /*                        Attestation Commands                                 */
 /*                          Written by Ken Goldman                             */
 /*                    IBM Thomas J. Watson Research Center                     */
-/*            $Id: AttestationCommands.c 1594 2020-03-26 22:15:48Z kgoldman $  */
+/*            $Id: AttestationCommands.c 1658 2021-01-22 23:14:01Z kgoldman $  */
 /*                                                                             */
 /*  Licenses and Notices                                                       */
 /*                                                                             */
@@ -55,7 +55,7 @@
 /*    arising in any way out of use or reliance upon this specification or any         */
 /*    information herein.                                                      */
 /*                                                                             */
-/*  (c) Copyright IBM Corp. and others, 2016 - 2020                            */
+/*  (c) Copyright IBM Corp. and others, 2016 - 2021                            */
 /*                                                                             */
 /********************************************************************************/
 
@@ -348,7 +348,7 @@ TPM2_CertifyX509(
     INT16                    i;
     //
 #if CERTIFYX509_DEBUG
-    DebugFileOpen();
+    DebugFileInit();
     DebugDumpBuffer(in->partialCertificate.t.size, in->partialCertificate.t.buffer,
                    "partialCertificate");
 #endif
index 1a58a562a68ee16ab027d3d9e8b1e52550eb3abb..b95249286ff1d2649cc11afc9175ba6e8bf0e5f2 100644 (file)
@@ -89,13 +89,15 @@ fileOpen(
 #   endif
     return f;
 }
-/* C.13.2.1.   DebugFileOpen() */
+/* C.13.2.2.   DebugFileInit() */
+/* This function initializes the file containing the debug data with the time of the file
+   creation. */
 /* This function opens the file used to hold the debug data. */
 /* Return Value        Meaning */
 /* 0   success */
 /* != 0        error */
 int
-DebugFileOpen(
+DebugFileInit(
              void
              )
 {
index 627840f395972a1c6bac30a0b84af8204ae110f0..6e74cd44967e06248f25c9e24979b12edb170e9f 100644 (file)
@@ -3,7 +3,7 @@
 /*                          Debug Helper                                       */
 /*                          Written by Ken Goldman                             */
 /*                    IBM Thomas J. Watson Research Center                     */
-/*            $Id: DebugHelpers_fp.h 1519 2019-11-15 20:43:51Z kgoldman $              */
+/*            $Id: DebugHelpers_fp.h 1658 2021-01-22 23:14:01Z kgoldman $      */
 /*                                                                             */
 /*  Licenses and Notices                                                       */
 /*                                                                             */
 /*    arising in any way out of use or reliance upon this specification or any         */
 /*    information herein.                                                      */
 /*                                                                             */
-/*  (c) Copyright IBM Corp. and others, 2019                                   */
+/*  (c) Copyright IBM Corp. and others, 2019 - 2021                            */
 /*                                                                             */
 /********************************************************************************/
 #ifndef DEBUGHELPERS_FP_H
 #define DEBUGHELPERS_FP_H
 
 int
-DebugFileOpen(
+DebugFileInit(
              void
              );
 void