diff options
author | Matt Caswell <matt@openssl.org> | 2017-06-12 09:18:24 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-06-21 14:45:35 +0100 |
commit | 3a7c56b2c0e6680e4ad3d83387a970110efdf1ba (patch) | |
tree | be8c9d95e7dde8376304ca49e928407b1aeb23ed /include | |
parent | 2556aec5d07546963eddc2df6824729fc218f41b (diff) |
Add TLSv1.3 server side external PSK support
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3670)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index cd1fc2e9c0..2dfa7f6f91 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -763,6 +763,10 @@ typedef unsigned int (*SSL_psk_server_cb_func)(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len); +typedef int (*SSL_psk_find_session_cb_func)(SSL *ssl, + const unsigned char *identity, + size_t identity_len, + SSL_SESSION **sess); void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, SSL_psk_server_cb_func cb); void SSL_set_psk_server_callback(SSL *ssl, SSL_psk_server_cb_func cb); |