X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_client.c;h=b48c3066a7149dcae68124f972808df803c2a3ae;hp=fdfd90bf1e7f6234b9f4fe0985022761a49233e2;hb=0665b4edae3fec740ebe12fe2946d4cc9585ca86;hpb=f533fbd44a36daac9cc304ff648782e366391b00 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: