diff options
author | Bodo Möller <bodo@openssl.org> | 2006-01-09 19:49:05 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2006-01-09 19:49:05 +0000 |
commit | a13c20f60353d3cd3fdd4f23563819eeb4234528 (patch) | |
tree | 41093ca4eea2561f146a82410964982868dfb7b9 /ssl/tls1.h | |
parent | db6251ad54933af46356c6a2e49d6b2fff55d083 (diff) | |
download | openssl-new-a13c20f60353d3cd3fdd4f23563819eeb4234528.tar.gz |
Further TLS extension updates
Submitted by: Peter Sylvester
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r-- | ssl/tls1.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h index 26a7ae52d6..8e56379963 100644 --- a/ssl/tls1.h +++ b/ssl/tls1.h @@ -170,10 +170,12 @@ extern "C" { #ifndef OPENSSL_NO_TLSEXT +#define TLSEXT_MAXLEN_host_name 255 + const char *SSL_get_servername(const SSL *s, const int type) ; int SSL_get_servername_type(const SSL *s) ; -#define SSL_set_tlsext_hostname(s,name) \ +#define SSL_set_tlsext_host_name(s,name) \ SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name) #define SSL_CTX_set_tlsext_servername_callback(ctx, cb) \ |