diff options
author | Matt Caswell <matt@openssl.org> | 2017-03-02 15:05:36 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-03-02 17:44:16 +0000 |
commit | 0665b4edae3fec740ebe12fe2946d4cc9585ca86 (patch) | |
tree | 9db9d4c4601b51171bd62fc002ae0d87113c3c30 /apps | |
parent | f533fbd44a36daac9cc304ff648782e366391b00 (diff) |
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 <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2737)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_client.c b/apps/s_client.c index fdfd90bf1e..b48c3066a7 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -2375,7 +2375,7 @@ int s_client_main(int argc, char **argv) if (!BIO_read_ex(edfile, cbuf, BUFSIZZ, &readbytes)) finish = 1; - while (!SSL_write_early(con, cbuf, readbytes, &writtenbytes)) { + while (!SSL_write_early_data(con, cbuf, readbytes, &writtenbytes)) { switch (SSL_get_error(con, 0)) { case SSL_ERROR_WANT_WRITE: case SSL_ERROR_WANT_ASYNC: |