From 70750a7ee573f3639203017d466fe8cc42c02b3f Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 1 Jun 2024 18:42:50 +0000 Subject: 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, -- cgit v1.2.3