Simon Josefsson wrote: > + The required size of OUT depends on HASH, and is generally > + GC_<HASH>_DIGEST_SIZE. For example, for GC_MD5 the output buffer > + must be 16 bytes. */ > extern int > gc_hash_buffer (int hash, const void *in, size_t inlen, char *out);
So GC_MD5 is a valid value for HASH. If all valid values for HASH are part of this enum type, you could write the argument as 'Gc_hash hash' instead of 'int hash'. This would be clearer. Bruno _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib