Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/experimental.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/toysrvr.c')
-rw-r--r--apps/toysrvr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/toysrvr.c b/apps/toysrvr.c
index 1c1410a822..7d671cc91d 100644
--- a/apps/toysrvr.c
+++ b/apps/toysrvr.c
@@ -45,7 +45,7 @@ static int toy_server_cb(int sock, int type, int protocol,
OSSL_TOY_STREAM *stream;
unsigned char buf[4097];
size_t bytesread, byteswritten;
- int ret = -1;
+ int ret = -1, isnew;
BIO *rbio = NULL, *wbio = NULL;
rbio = BIO_new_dgram(sock, BIO_NOCLOSE);
@@ -69,7 +69,7 @@ static int toy_server_cb(int sock, int type, int protocol,
rbio = wbio = NULL;
for (;;) {
- if (OSSL_TOY_CTX_process_packet(ctx, &conn, &stream) <= 0) {
+ if (OSSL_TOY_CTX_process_packet(ctx, &conn, &stream, &isnew) <= 0) {
BIO_printf(bio_err, "Failed processing a packet\n");
goto err;
}