artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c2f79a
)
Remove now unnecessary do { } while (0);
author
jsing
<jsing@openbsd.org>
Thu, 28 Mar 2024 07:29:41 +0000
(07:29 +0000)
committer
jsing
<jsing@openbsd.org>
Thu, 28 Mar 2024 07:29:41 +0000
(07:29 +0000)
lib/libcrypto/ripemd/ripemd.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/ripemd/ripemd.c
b/lib/libcrypto/ripemd/ripemd.c
index
16a9cff
..
5f9d9b8
100644
(file)
--- a/
lib/libcrypto/ripemd/ripemd.c
+++ b/
lib/libcrypto/ripemd/ripemd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ripemd.c,v 1.1
5 2024/03/28 07:28:48
jsing Exp $ */
+/* $OpenBSD: ripemd.c,v 1.1
6 2024/03/28 07:29:41
jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-485,7
+485,6
@@
RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c)
c->num = 0;
memset(p, 0, RIPEMD160_CBLOCK);
- do {
ll = c->A;
HOST_l2c(ll, md);
ll = c->B;
@@
-496,7
+495,6
@@
RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c)
HOST_l2c(ll, md);
ll = c->E;
HOST_l2c(ll, md);
- } while (0);
return 1;
}