[hipl-commit] [trunk] Rev 3563: workaround for hipl to build for maemo 5

  • From: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 9 Feb 2010 12:02:01 +0200

Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
Date: Tue Feb 09 11:01:32 2010 +0100
Revision: 3563
Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  workaround for hipl to build for maemo 5

Modified:
  M  lib/core/certtools.c

=== modified file 'lib/core/certtools.c'
--- lib/core/certtools.c        2010-02-08 15:18:06 +0000
+++ lib/core/certtools.c        2010-02-09 10:01:32 +0000
@@ -756,6 +756,9 @@
  * UTILITARY FUNCTIONS                                                         
*
  
*******************************************************************************/
 
+/* These functions are not used anywhere right now and cause trouble on Maemo 
*/
+#ifdef CONFIG_HIP_MAEMO
+
 /**
  * hip_cert_der_to_x509 - Function that converts the DER encoded X509 to X509 
struct
  *
@@ -804,6 +807,7 @@
        if (err == -1) return NULL;
         return cert;
 }
+#endif /* CONFIG_HIP_MAEMO */
  
 /**
  * hip_cert_read_conf_section - Function that reads configuration

Other related posts:

  • » [hipl-commit] [trunk] Rev 3563: workaround for hipl to build for maemo 5 - Rene Hummen