From: tb Date: Sat, 1 Jun 2024 18:42:49 +0000 (+0000) Subject: md4/ripemd: remove misplaced semicolons X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d96b8823d93fd9e97f4d6f8204d8210beb6464e2;p=openbsd md4/ripemd: remove misplaced semicolons --- 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,