summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2006-01-04 12:02:43 +0000
committerRichard Levitte <levitte@openssl.org>2006-01-04 12:02:43 +0000
commit8de5b7f54833435c4a3e281632871520cd5f1041 (patch)
treead5763b8a3c7e78f321126329e509eb193d621fb /apps
parent9ee0f7b7e0fe6e4baa6bc688c7b8fe013da9ce4e (diff)
Fix signed/unsigned char clashes.
Diffstat (limited to 'apps')
-rw-r--r--apps/s_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 181cb3f15b..c791667741 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -239,7 +239,7 @@ typedef struct tlsextctx_st {
static int MS_CALLBACK ssl_servername_cb(SSL *s, int *ad, void *arg)
{
tlsextctx * p = (tlsextctx *) arg;
- const unsigned char * hn= SSL_get_servername(s, TLSEXT_NAMETYPE_host_name);
+ const char * hn= SSL_get_servername(s, TLSEXT_NAMETYPE_host_name);
if (SSL_get_servername_type(s) != -1)
p->ack = !SSL_session_reused(s) && hn != NULL;
else