Update API to use (char *) for email addresses and hostnames
authorViktor Dukhovni <ietf-dane@dukhovni.org>
Mon, 7 Jul 2014 09:11:38 +0000 (19:11 +1000)
committerViktor Dukhovni <ietf-dane@dukhovni.org>
Mon, 7 Jul 2014 09:20:34 +0000 (19:20 +1000)
commite83c913723fac7432a7706812f12394aaa00e8ce
tree8cf139a56f6a3dbf2c3da07db74a3adac8349e86
parent55fe56837a65ff505b492aa6aee748bf5fa91fec
Update API to use (char *) for email addresses and hostnames

Reduces number of silly casts in OpenSSL code and likely most
applications.  Consistent with (char *) for "peername" value from
X509_check_host() and X509_VERIFY_PARAM_get0_peername().

(cherry picked from commit 297c67fcd817ea643de2fdeff4e434b050d571e2)
12 files changed:
apps/apps.c
apps/apps.h
apps/x509.c
crypto/x509/vpm_int.h
crypto/x509/x509_vfy.c
crypto/x509/x509_vfy.h
crypto/x509/x509_vpm.c
crypto/x509v3/v3_utl.c
crypto/x509v3/v3nametest.c
crypto/x509v3/x509v3.h
doc/crypto/X509_VERIFY_PARAM_set_flags.pod
doc/crypto/X509_check_host.pod