IDEA support

Werner Koch wk at gnupg.org
Wed Jan 11 09:39:02 CET 2012


On Wed, 11 Jan 2012 07:49, ulm at gentoo.org said:

> Please find a patch included below. It applies cleanly to the trunk
> as well as to 1.5.0. I've tested it both with keys and files generated

To apply this patch you first need to sign copyright assignments

> +/* configuration stuff */
> +#ifdef __alpha__
> +  #define SIZEOF_UNSIGNED_LONG 8
> +#else
> +  #define SIZEOF_UNSIGNED_LONG 4
> +#endif

This needs to be changed to configure checks.

> +#if defined(__mc68000__) || defined (__sparc__) || defined (__PPC__) \
> +    || (defined(__mips__) && (defined(MIPSEB) || defined (__MIPSEB__)) ) \
> +    || defined(__powerpc__) \
> +    || defined(__hpux__) /* should be replaced by the Macro for the PA */
> +  #define BIG_ENDIAN_HOST 1

Ditto.

> +#ifndef DIM
> +  #define DIM(v) (sizeof(v)/sizeof((v)[0]))
> +  #define DIMof(type,member)   DIM(((type *)0)->member)
> +#endif

Already in other header files.

> +void g10_log_fatal( const char *fmt, ... );

Obsolete prototype.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list