[gnutls-help] "x509.c", line 2894: warning: argument #3 is incompatible with prototype:
dev
dev at cor0.com
Wed Apr 30 20:37:15 CEST 2014
cause :
"x509.c", line 2894: warning: argument #3 is incompatible with
prototype:
prototype: pointer to unsigned int :
"./../includes/gnutls/x509-ext.h", line 64
argument : pointer to enum gnutls_x509_subject_alt_name_t
{GNUTLS_SAN_OTHERNAME_XMPP(1000), GNUTLS_SAN_DN(6),
GNUTLS_SAN_OTHERNAME(5), GNUTLS_SAN_IPADDRESS(4), GNUTLS_SAN_URI(3),
GNUTLS_SAN_RFC822NAME(2), GNUTLS_SAN_DNSNAME(1)}
$ diff ./tests/x509-extensions.c_backup ./tests/x509-extensions.c
440c440
< unsigned type;
---
> gnutls_x509_subject_alt_name_t type;
$ diff ./lib/includes/gnutls/x509-ext.h_backup
./lib/includes/gnutls/x509-ext.h
65c65
< unsigned int *type,
---
> gnutls_x509_subject_alt_name_t *type,
$ diff ./lib/x509/x509_ext.c_backup ./lib/x509/x509_ext.c
2183c2183
< unsigned int seq, unsigned int
*type,
---
> unsigned int seq,
> gnutls_x509_subject_alt_name_t *type,
More information about the Gnutls-help
mailing list