diff options
author | Viktor Dukhovni <ietf-dane@dukhovni.org> | 2014-07-07 19:11:38 +1000 |
---|---|---|
committer | Viktor Dukhovni <ietf-dane@dukhovni.org> | 2014-07-07 19:20:34 +1000 |
commit | e83c913723fac7432a7706812f12394aaa00e8ce (patch) | |
tree | 8cf139a56f6a3dbf2c3da07db74a3adac8349e86 /apps/apps.h | |
parent | 55fe56837a65ff505b492aa6aee748bf5fa91fec (diff) |
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)
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.h b/apps/apps.h index 5f083d4097..cf2ad5d6f4 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -342,8 +342,8 @@ unsigned char *next_protos_parse(unsigned short *outlen, const char *in); #endif /* ndef OPENSSL_NO_TLSEXT */ void print_cert_checks(BIO *bio, X509 *x, - const unsigned char *checkhost, - const unsigned char *checkemail, + const char *checkhost, + const char *checkemail, const char *checkip); void store_setup_crl_download(X509_STORE *st); |