summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-01-18 11:31:37 +0000
committerMatt Caswell <matt@openssl.org>2017-01-30 10:18:20 +0000
commitf4bbb37c4c95ea8cdb4b3470098a1b5d7d1977ed (patch)
tree92ec8b6c8c0c59507b74ecb90834701b1a1bf7f9 /include
parent4ff65f77b62df12ad75ec232b38627c5fe131041 (diff)
Provide a key_share extension finaliser
This mops up various edge cases with key_shares and makes sure we still generate the handshake secret if we haven't been provided with one but we have a PSK. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2259)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 52be4064fa..cee7549d9b 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -2097,6 +2097,7 @@ int ERR_load_SSL_strings(void);
# define SSL_F_DTLS_PROCESS_HELLO_VERIFY 386
# define SSL_F_FINAL_EC_PT_FORMATS 485
# define SSL_F_FINAL_EMS 486
+# define SSL_F_FINAL_KEY_SHARE 503
# define SSL_F_FINAL_RENEGOTIATE 483
# define SSL_F_FINAL_SIG_ALGS 497
# define SSL_F_NSS_KEYLOG_INT 500