diff options
author | Ben Laurie <ben@openssl.org> | 2011-11-16 00:50:52 +0100 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2011-11-16 00:50:52 +0100 |
commit | e0af04056cafff7cbfd2f4426cd0b44700a374a4 (patch) | |
tree | a8d2b07974989368206df6302fd9d13d67aa7c92 /ssl/tls1.h | |
parent | Add DTLS-SRTP. (diff) | |
download | openssl-e0af04056cafff7cbfd2f4426cd0b44700a374a4.tar.xz openssl-e0af04056cafff7cbfd2f4426cd0b44700a374a4.zip |
Add TLS exporter.
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r-- | ssl/tls1.h | 6 |
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) |