summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-06-01 18:42:49 +0000
committertb <>2024-06-01 18:42:49 +0000
commit6b756272189c862805133e3beb28ad09ae9acb3f (patch)
tree138dceff84930eae0772b44e7efa7ee597d485dd
parente8fd0aebd3bba5eeb4eb38d2c9640450f3634294 (diff)
downloadopenbsd-6b756272189c862805133e3beb28ad09ae9acb3f.tar.gz
openbsd-6b756272189c862805133e3beb28ad09ae9acb3f.tar.bz2
openbsd-6b756272189c862805133e3beb28ad09ae9acb3f.zip
md4/ripemd: remove misplaced semicolons
-rw-r--r--src/lib/libcrypto/md4/md4.h6
-rw-r--r--src/lib/libcrypto/ripemd/ripemd.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/md4/md4.h b/src/lib/libcrypto/md4/md4.h
index f0a9daeb50..2d0169e719 100644
--- a/src/lib/libcrypto/md4/md4.h
+++ b/src/lib/libcrypto/md4/md4.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: md4.h,v 1.20 2024/06/01 17:56:44 tb Exp $ */ 1/* $OpenBSD: md4.h,v 1.21 2024/06/01 18:42:49 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -95,10 +95,10 @@ typedef struct MD4state_st {
95} MD4_CTX; 95} MD4_CTX;
96 96
97int MD4_Init(MD4_CTX *c); 97int MD4_Init(MD4_CTX *c);
98int MD4_Update(MD4_CTX *c, const void *data, size_t len); 98int MD4_Update(MD4_CTX *c, const void *data, size_t len)
99 __attribute__ ((__bounded__(__buffer__, 2, 3))); 99 __attribute__ ((__bounded__(__buffer__, 2, 3)));
100int MD4_Final(unsigned char *md, MD4_CTX *c); 100int MD4_Final(unsigned char *md, MD4_CTX *c);
101unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md); 101unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md)
102 __attribute__ ((__bounded__(__buffer__, 1, 2))) 102 __attribute__ ((__bounded__(__buffer__, 1, 2)))
103 __attribute__ ((__nonnull__(3))); 103 __attribute__ ((__nonnull__(3)));
104void MD4_Transform(MD4_CTX *c, const unsigned char *b); 104void MD4_Transform(MD4_CTX *c, const unsigned char *b);
diff --git a/src/lib/libcrypto/ripemd/ripemd.h b/src/lib/libcrypto/ripemd/ripemd.h
index 3dc6bd8b25..83f7b36bc0 100644
--- a/src/lib/libcrypto/ripemd/ripemd.h
+++ b/src/lib/libcrypto/ripemd/ripemd.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ripemd.h,v 1.18 2024/06/01 17:56:44 tb Exp $ */ 1/* $OpenBSD: ripemd.h,v 1.19 2024/06/01 18:42:49 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -96,7 +96,7 @@ typedef struct RIPEMD160state_st {
96} RIPEMD160_CTX; 96} RIPEMD160_CTX;
97 97
98int RIPEMD160_Init(RIPEMD160_CTX *c); 98int RIPEMD160_Init(RIPEMD160_CTX *c);
99int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); 99int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len)
100 __attribute__ ((__bounded__(__buffer__, 2, 3))); 100 __attribute__ ((__bounded__(__buffer__, 2, 3)));
101int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); 101int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
102unsigned char *RIPEMD160(const unsigned char *d, size_t n, 102unsigned char *RIPEMD160(const unsigned char *d, size_t n,