diff options
author | Matt Caswell <matt@openssl.org> | 2017-02-21 17:14:42 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-02 17:44:15 +0000 |
commit | d781d247d1ef9331983f456d616659108c857d0d (patch) | |
tree | 2aebc8129fb1e92324bd552382dde0e0d2920372 /ssl/ssl_err.c | |
parent | 6cb422654de11eb13f50b36d7d59e65fec029229 (diff) |
Provide an SSL_read_early() function for reading early data
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2737)
Diffstat (limited to 'ssl/ssl_err.c')
-rw-r--r-- | ssl/ssl_err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index c6cc375643..0620966172 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -205,6 +205,7 @@ static ERR_STRING_DATA SSL_str_functs[] = { {ERR_FUNC(SSL_F_SSL_PEEK_EX), "SSL_peek_ex"}, {ERR_FUNC(SSL_F_SSL_PEEK_INTERNAL), "ssl_peek_internal"}, {ERR_FUNC(SSL_F_SSL_READ), "SSL_read"}, + {ERR_FUNC(SSL_F_SSL_READ_EARLY), "SSL_read_early"}, {ERR_FUNC(SSL_F_SSL_READ_EX), "SSL_read_ex"}, {ERR_FUNC(SSL_F_SSL_READ_INTERNAL), "ssl_read_internal"}, {ERR_FUNC(SSL_F_SSL_RENEGOTIATE), "SSL_renegotiate"}, @@ -793,6 +794,8 @@ static ERR_STRING_DATA SSL_str_reasons[] = { "unable to load ssl3 md5 routines"}, {ERR_REASON(SSL_R_UNABLE_TO_LOAD_SSL3_SHA1_ROUTINES), "unable to load ssl3 sha1 routines"}, + {ERR_REASON(SSL_R_UNEXPECTED_END_OF_EARLY_DATA), + "unexpected end of early data"}, {ERR_REASON(SSL_R_UNEXPECTED_MESSAGE), "unexpected message"}, {ERR_REASON(SSL_R_UNEXPECTED_RECORD), "unexpected record"}, {ERR_REASON(SSL_R_UNINITIALIZED), "uninitialized"}, |