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:11:38 +0000 (19:11 +1000)
commit297c67fcd817ea643de2fdeff4e434b050d571e2
tree5ff05ff3ed125e5091f9cb75a50c51bb5ff7c397
parentee724df75d9ad67fd954253ac514fddb46f1e3c6
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().
12 files changed:
apps/apps.c
apps/apps.h
apps/x509.c
crypto/x509/x509_lcl.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