summaryrefslogtreecommitdiffstats
path: root/ssl/tls1.h
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-11-15 23:51:22 +0000
committerBen Laurie <ben@openssl.org>2011-11-15 23:51:22 +0000
commitb1d7429186658934e4ca8b7913c3640ef4426e45 (patch)
treebaa81aec5fc88283adf9389c7903eab77772dddc /ssl/tls1.h
parent060a38a2c06145df02d04af20e31bacf30f192e2 (diff)
Add TLS exporter.
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r--ssl/tls1.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h
index f443bb13ef..545383a5ee 100644
--- a/ssl/tls1.h
+++ b/ssl/tls1.h
@@ -262,8 +262,10 @@ extern "C" {
#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) ;
+const char *SSL_get_servername(const SSL *s, const int type);
+int SSL_get_servername_type(const SSL *s);
+int SSL_export_keying_material(SSL *s, unsigned char *out, int olen,
+ char *label, int llen, unsigned char *p, int plen, int use_context);
#define SSL_set_tlsext_host_name(s,name) \
SSL_ctrl(s,SSL_CTRL_SET_TLSEXT_HOSTNAME,TLSEXT_NAMETYPE_host_name,(char *)name)