From: jsing Date: Thu, 28 Mar 2024 07:29:41 +0000 (+0000) Subject: Remove now unnecessary do { } while (0); X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=558da9357950ea25e53fdab2ea1d07b584722caf;p=openbsd Remove now unnecessary do { } while (0); --- diff --git a/lib/libcrypto/ripemd/ripemd.c b/lib/libcrypto/ripemd/ripemd.c index 16a9cff9d4a..5f9d9b8d428 100644 --- a/lib/libcrypto/ripemd/ripemd.c +++ b/lib/libcrypto/ripemd/ripemd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ripemd.c,v 1.15 2024/03/28 07:28:48 jsing Exp $ */ +/* $OpenBSD: ripemd.c,v 1.16 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; }