From f21447ceff21c91ccffb7bda7502d04bdc536012 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 8 Jul 2023 07:34:34 +0000 Subject: More style(9). --- src/lib/libcrypto/des/enc_writ.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/lib/libcrypto/des/enc_writ.c') diff --git a/src/lib/libcrypto/des/enc_writ.c b/src/lib/libcrypto/des/enc_writ.c index 8a19fb84f9..3def8a8d73 100644 --- a/src/lib/libcrypto/des/enc_writ.c +++ b/src/lib/libcrypto/des/enc_writ.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enc_writ.c,v 1.16 2023/07/08 07:11:07 beck Exp $ */ +/* $OpenBSD: enc_writ.c,v 1.17 2023/07/08 07:34:34 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -110,8 +110,7 @@ DES_enc_write(int fd, const void *_buf, int len, /* lets recurse if we want to send the data in small chunks */ if (len > MAXWRITE) { j = 0; - for (i = 0; i < len; i += k) - { + for (i = 0; i < len; i += k) { k = DES_enc_write(fd, &(buf[i]), ((len - i) > MAXWRITE) ? MAXWRITE : (len - i), sched, iv); @@ -148,8 +147,7 @@ DES_enc_write(int fd, const void *_buf, int len, /* output */ outnum = rnum + HDRSIZE; - for (j = 0; j < outnum; j += i) - { + for (j = 0; j < outnum; j += i) { /* eay 26/08/92 I was not doing writing from where we * got up to. */ i = write(fd, (void *)&(outbuf[j]), outnum - j); -- cgit v1.2.3-55-g6feb