diff options
author | Matt Caswell <matt@openssl.org> | 2017-07-21 11:41:05 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-08-31 15:03:34 +0100 |
commit | ffc5bbaaee2bfaba8d420e912c4d77b4090b896f (patch) | |
tree | 9dd6c92e4c0e5a009b21e58d8a8b342aad53e55c /crypto | |
parent | 67738645dc0b044fc7d120a3c67af5635d0d78ec (diff) |
Complain if we are writing early data but SNI or ALPN is incorrect
SNI and ALPN must be set to be consistent with the PSK. Otherwise this is
an error.
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/3926)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/err/openssl.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 517c9f4803..4b3c55b010 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -2320,6 +2320,8 @@ SSL_R_ILLEGAL_POINT_COMPRESSION:162:illegal point compression SSL_R_ILLEGAL_SUITEB_DIGEST:380:illegal Suite B digest SSL_R_INAPPROPRIATE_FALLBACK:373:inappropriate fallback SSL_R_INCONSISTENT_COMPRESSION:340:inconsistent compression +SSL_R_INCONSISTENT_EARLY_DATA_ALPN:222:inconsistent early data alpn +SSL_R_INCONSISTENT_EARLY_DATA_SNI:231:inconsistent early data sni SSL_R_INCONSISTENT_EXTMS:104:inconsistent extms SSL_R_INVALID_ALERT:205:invalid alert SSL_R_INVALID_COMMAND:280:invalid command |