From d96b8823d93fd9e97f4d6f8204d8210beb6464e2 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 1 Jun 2024 18:42:49 +0000 Subject: [PATCH] md4/ripemd: remove misplaced semicolons --- lib/libcrypto/md4/md4.h | 6 +++--- lib/libcrypto/ripemd/ripemd.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libcrypto/md4/md4.h b/lib/libcrypto/md4/md4.h index f0a9daeb507..2d0169e7197 100644 --- a/lib/libcrypto/md4/md4.h +++ b/lib/libcrypto/md4/md4.h @@ -1,4 +1,4 @@ -/* $OpenBSD: md4.h,v 1.20 2024/06/01 17:56:44 tb Exp $ */ +/* $OpenBSD: md4.h,v 1.21 2024/06/01 18:42:49 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -95,10 +95,10 @@ typedef struct MD4state_st { } MD4_CTX; int MD4_Init(MD4_CTX *c); -int MD4_Update(MD4_CTX *c, const void *data, size_t len); +int MD4_Update(MD4_CTX *c, const void *data, size_t len) __attribute__ ((__bounded__(__buffer__, 2, 3))); int MD4_Final(unsigned char *md, MD4_CTX *c); -unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md); +unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md) __attribute__ ((__bounded__(__buffer__, 1, 2))) __attribute__ ((__nonnull__(3))); void MD4_Transform(MD4_CTX *c, const unsigned char *b); diff --git a/lib/libcrypto/ripemd/ripemd.h b/lib/libcrypto/ripemd/ripemd.h index 3dc6bd8b25a..83f7b36bc05 100644 --- a/lib/libcrypto/ripemd/ripemd.h +++ b/lib/libcrypto/ripemd/ripemd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ripemd.h,v 1.18 2024/06/01 17:56:44 tb Exp $ */ +/* $OpenBSD: ripemd.h,v 1.19 2024/06/01 18:42:49 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -96,7 +96,7 @@ typedef struct RIPEMD160state_st { } RIPEMD160_CTX; int RIPEMD160_Init(RIPEMD160_CTX *c); -int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); +int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len) __attribute__ ((__bounded__(__buffer__, 2, 3))); int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); unsigned char *RIPEMD160(const unsigned char *d, size_t n, -- 2.20.1