Blame SOURCES/0015-ESYS-Fixed-annotation-error-of-Esys_TR_Deserialize.patch

6a14f3
From 5e2f86cbd55b7c82ebf4cef0a0abed6c04598bd9 Mon Sep 17 00:00:00 2001
6a14f3
From: JerryDevis <JerryDevis@users.noreply.github.com>
6a14f3
Date: Fri, 7 Jan 2022 11:56:14 +0800
6a14f3
Subject: [PATCH 15/23] ESYS: Fixed annotation error of Esys_TR_Deserialize
6a14f3
6a14f3
Signed-off-by: JerryDevis <JerryDevis@users.noreply.github.com>
6a14f3
---
6a14f3
 src/tss2-esys/esys_tr.c | 11 +++++------
6a14f3
 1 file changed, 5 insertions(+), 6 deletions(-)
6a14f3
6a14f3
diff --git a/src/tss2-esys/esys_tr.c b/src/tss2-esys/esys_tr.c
6a14f3
index cf4caa09..784f711a 100644
6a14f3
--- a/src/tss2-esys/esys_tr.c
6a14f3
+++ b/src/tss2-esys/esys_tr.c
6a14f3
@@ -65,15 +65,14 @@ Esys_TR_Serialize(ESYS_CONTEXT * esys_context,
6a14f3
  *
6a14f3
  * Deserialize the metadata of an ESYS_TR object from a byte buffer that was
6a14f3
  * stored on disk for later use by a different program or context.
6a14f3
- * An object can be serialized suing Esys_TR_Serialize.
6a14f3
+ * An object can be deserialized using Esys_TR_Deserialize.
6a14f3
  * @param esys_context [in,out] The ESYS_CONTEXT.
6a14f3
- * @param esys_handle [in] The ESYS_TR object to serialize.
6a14f3
- * @param buffer [out] The buffer containing the serialized metadata.
6a14f3
- *        (caller-callocated) Shall be freed using free().
6a14f3
- * @param buffer_size [out] The size of the buffer parameter.
6a14f3
+ * @param esys_handle [out] The ESYS_TR object to deserialize.
6a14f3
+ * @param buffer [in] The buffer containing the metadata of the ESYS_TR object.
6a14f3
+ * @param buffer_size [in] The size of the buffer parameter.
6a14f3
  * @retval TSS2_RC_SUCCESS on Success.
6a14f3
  * @retval TSS2_ESYS_RC_MEMORY if the object can not be allocated.
6a14f3
- * @retval TSS2_ESYS_RC_INSUFFICIENT_BUFFER if the buffer for unmarshaling.
6a14f3
+ * @retval TSS2_ESYS_RC_INSUFFICIENT_BUFFER if the buffer for unmarshalling.
6a14f3
  * @retval TSS2_ESYS_RC_BAD_REFERENCE if the esysContext is NULL.
6a14f3
  * @retval TSS2_RCs produced by lower layers of the software stack.
6a14f3
  */
6a14f3
-- 
6a14f3
2.34.3
6a14f3