[hipl-commit] [trunk] Rev 4183: Remove bizarre preprocessor condition that was always fulfilled.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 8 Apr 2010 18:09:51 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 08/04/2010 at 18:09:51
Revision: 4183
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Remove bizarre preprocessor condition that was always fulfilled.

Modified:
  M  lib/core/hashchain.h

=== modified file 'lib/core/hashchain.h'
--- lib/core/hashchain.h        2010-03-18 21:15:21 +0000
+++ lib/core/hashchain.h        2010-04-08 15:09:33 +0000
@@ -27,16 +27,9 @@
 #endif
 
 /* hash function used for the creation and verification of the hash chain */
-#ifndef HIP_LIB_CORE_HASHCHAIN_H
-typedef unsigned char * (*hash_function_t)(const unsigned char *,
-                                           size_t,
-                                           unsigned char *);
-#else
-/* The maemo environment uses a different version of the OpenSSL library */
 typedef unsigned char * (*hash_function_t)(const unsigned char *,
                                            unsigned long,
                                            unsigned char *);
-#endif
 
 typedef struct hash_chain {
     /* pointer to the hash-function used to create and verify the hchain

Other related posts:

  • » [hipl-commit] [trunk] Rev 4183: Remove bizarre preprocessor condition that was always fulfilled. - Diego Biurrun