[gnutls-devel] GnuTLS | RFC7250 Raw public keys (!650)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Nov 27 13:14:12 CET 2018


Nikos Mavrogiannopoulos started a new discussion on lib/includes/gnutls/gnutls.h.in:

> +				    const char **names,
> +				    uint16_t names_length,
> +				    unsigned int flags);
> +
> +int gnutls_certificate_set_rawpk_key_file(gnutls_certificate_credentials_t cred,
> +				      const char* rawpkfile,
> +				      const char* privkeyfile,
> +				      gnutls_x509_crt_fmt_t format,
> +				      const char *pass,
> +				      unsigned int key_usage,
> +				      const char **names,
> +				      uint16_t names_length,
> +				      unsigned int flags);
> +
> +int gnutls_certificate_get_rawpk_keypair(gnutls_certificate_credentials_t cred,
> +                                   unsigned index,

index is also a function name in `strings.h`, if you try to access  a variable called index with strings included, this may confuse the compiler.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/650#note_120387738
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181127/4ed6ea11/attachment.html>


More information about the Gnutls-devel mailing list