From 0665b4edae3fec740ebe12fe2946d4cc9585ca86 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 2 Mar 2017 15:05:36 +0000 Subject: Rename SSL_write_early() to SSL_write_early_data() This is for consistency with the rest of the API where all the functions are called *early_data*. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2737) --- ssl/ssl_err.c | 2 +- ssl/ssl_lib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ssl') diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index 0a23218d8f..6fe8e6e8a6 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -255,7 +255,7 @@ static ERR_STRING_DATA SSL_str_functs[] = { {ERR_FUNC(SSL_F_SSL_VALIDATE_CT), "ssl_validate_ct"}, {ERR_FUNC(SSL_F_SSL_VERIFY_CERT_CHAIN), "ssl_verify_cert_chain"}, {ERR_FUNC(SSL_F_SSL_WRITE), "SSL_write"}, - {ERR_FUNC(SSL_F_SSL_WRITE_EARLY), "SSL_write_early"}, + {ERR_FUNC(SSL_F_SSL_WRITE_EARLY_DATA), "SSL_write_early_data"}, {ERR_FUNC(SSL_F_SSL_WRITE_EARLY_FINISH), "SSL_write_early_finish"}, {ERR_FUNC(SSL_F_SSL_WRITE_EX), "SSL_write_ex"}, {ERR_FUNC(SSL_F_SSL_WRITE_INTERNAL), "ssl_write_internal"}, diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 9635989908..c3496e7b48 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -1816,7 +1816,7 @@ int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written) return ret; } -int SSL_write_early(SSL *s, const void *buf, size_t num, size_t *written) +int SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written) { int ret; -- cgit v1.2.3