[pisa-src] r1589 - trunk/community-operator/hipl.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 09 Nov 2009 12:25:49 +0100

Author: tjansen
Date: Mon Nov  9 12:25:48 2009
New Revision: 1589

Log:
Fixed return value of hip_build_param_cert_spki_info().

Modified:
   trunk/community-operator/hipl.c

Modified: trunk/community-operator/hipl.c
==============================================================================
--- trunk/community-operator/hipl.c     Mon Nov  9 12:25:13 2009        (r1588)
+++ trunk/community-operator/hipl.c     Mon Nov  9 12:25:48 2009        (r1589)
@@ -364,9 +364,7 @@
        memcpy(&local, cert_info, sizeof(hip_cert_spki_info));
        local.tlv.type = htons(HIP_PARAM_CERT_SPKI_INFO);
        local.tlv.length = htons(sizeof(hip_cert_spki_info) - 
sizeof(hip_tlv_common));
-       hip_param_append(msg, (hip_tlv_common *)&local);
-
-       return 0;
+       return hip_param_append(msg, (hip_tlv_common *)&local);
 }
 
 /**

Other related posts:

  • » [pisa-src] r1589 - trunk/community-operator/hipl.c - Thomas Jansen