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