summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/qud_cksm.c
diff options
context:
space:
mode:
authorjsing <>2023-07-08 07:34:34 +0000
committerjsing <>2023-07-08 07:34:34 +0000
commitf21447ceff21c91ccffb7bda7502d04bdc536012 (patch)
tree14fa0c0b3cfd9f5af3d0193d221ba10deb8fbcce /src/lib/libcrypto/des/qud_cksm.c
parent903dc2a64c29e2f25074485b7e91d9844296b1f3 (diff)
downloadopenbsd-f21447ceff21c91ccffb7bda7502d04bdc536012.tar.gz
openbsd-f21447ceff21c91ccffb7bda7502d04bdc536012.tar.bz2
openbsd-f21447ceff21c91ccffb7bda7502d04bdc536012.zip
More style(9).
Diffstat (limited to 'src/lib/libcrypto/des/qud_cksm.c')
-rw-r--r--src/lib/libcrypto/des/qud_cksm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/des/qud_cksm.c b/src/lib/libcrypto/des/qud_cksm.c
index c9d2c01fa1..ab28668264 100644
--- a/src/lib/libcrypto/des/qud_cksm.c
+++ b/src/lib/libcrypto/des/qud_cksm.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: qud_cksm.c,v 1.9 2023/07/08 07:11:07 beck Exp $ */ 1/* $OpenBSD: qud_cksm.c,v 1.10 2023/07/08 07:34:34 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -92,8 +92,7 @@ DES_quad_cksum(const unsigned char *input, DES_cblock output[],
92 z1 = Q_B0((*seed)[4])|Q_B1((*seed)[5])|Q_B2((*seed)[6])|Q_B3( 92 z1 = Q_B0((*seed)[4])|Q_B1((*seed)[5])|Q_B2((*seed)[6])|Q_B3(
93 (*seed)[7]); 93 (*seed)[7]);
94 94
95 for (i = 0; ((i < 4) && (i < out_count)); i++) 95 for (i = 0; ((i < 4) && (i < out_count)); i++) {
96 {
97 cp = input; 96 cp = input;
98 l = length; 97 l = length;
99 while (l > 0) { 98 while (l > 0) {