[gnutls-devel] Missing function. Where is version_to_entry defined?

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Feb 18 23:09:27 CET 2015


On Mon, 2015-02-16 at 17:04 +0000, JONES, BILL wrote:

> Here are other warnings showing up:
> "gnutls-3.3.11/lib/x509/pkcs12_encr.c", line 140: warning: enum type mismatch: arg #1
> rc = _gnutls_hash_fast(me->id, hash, mac_len,
>                        hash);
> should this be:
> rc = _gnutls_hash_fast((gnutls_digest_algorithm_t)me->id, hash, mac_len,
>                        hash);

Applied this cast in master.

> "gnutls-3.3.11/lib/system.c", line 684: warning: argument #2 is incompatible with prototype:
>         prototype: pointer to pointer to const char : "/appl/local-201501ss/include/iconv.h", line 83
>         argument : pointer to pointer to char

I don't see anything const in the posix definition of this function.

>  gnutls-3.3.11/src/certtool-cfg.c", line 1104: warning: shift count negative or too big: >> 32

Not sure what is the issue there. The integer shifted is a 64-bit one.

> "gnutls-3.3.11/src/certtool.c", line 1131: warning: integer overflow detected: op "<<"

I've added an explicit cast to unsigned int in the macro. Should solve
that.

regards,
Nikos





More information about the Gnutls-devel mailing list