diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2019-02-21 17:02:03 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2019-02-21 17:02:03 +0000 |
commit | ce32335f17b5840b43846178eea3ed5cfb9b78d3 (patch) | |
tree | 2c6cfa6f94832351ebe5f75013236e182b14efe2 /lib | |
parent | 02d49193dbccbe0504a98b6c516b3f6f8cd4a826 (diff) |
Fix a few cases where int was used instead of ssize_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/tls13_record_layer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/tls13_record_layer.c b/lib/libssl/tls13_record_layer.c index dbb5695d5e1..d1b53244c56 100644 --- a/lib/libssl/tls13_record_layer.c +++ b/lib/libssl/tls13_record_layer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls13_record_layer.c,v 1.2 2019/02/14 17:55:32 jsing Exp $ */ +/* $OpenBSD: tls13_record_layer.c,v 1.3 2019/02/21 17:02:02 jsing Exp $ */ /* * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> * @@ -176,7 +176,7 @@ tls13_record_layer_handshake_completed(struct tls13_record_layer *rl) rl->handshake_completed = 1; } -static int +static ssize_t tls13_record_layer_process_alert(struct tls13_record_layer *rl) { uint8_t alert_level, alert_desc; @@ -634,7 +634,7 @@ ssize_t tls13_record_layer_read(struct tls13_record_layer *rl, uint8_t content_type, uint8_t *buf, size_t n) { - int ret; + ssize_t ret; /* XXX - loop here with record and byte limits. */ /* XXX - send alert... */ |