summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md5
diff options
context:
space:
mode:
authortb <>2024-06-01 07:44:11 +0000
committertb <>2024-06-01 07:44:11 +0000
commitf1d0891cbe8e9a0eb2a6b78725f11429b2224763 (patch)
tree3b11886e1986fdd282699df45052115c3b2ff3a5 /src/lib/libcrypto/md5
parentf3bc6c83f92ef9b23bfc523ef1b24bfa27e1f6e4 (diff)
downloadopenbsd-f1d0891cbe8e9a0eb2a6b78725f11429b2224763.tar.gz
openbsd-f1d0891cbe8e9a0eb2a6b78725f11429b2224763.tar.bz2
openbsd-f1d0891cbe8e9a0eb2a6b78725f11429b2224763.zip
Reverse order of attributes
requested by jsing on review
Diffstat (limited to 'src/lib/libcrypto/md5')
-rw-r--r--src/lib/libcrypto/md5/md5.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/md5/md5.h b/src/lib/libcrypto/md5/md5.h
index 9191ff2131..a3529f486d 100644
--- a/src/lib/libcrypto/md5/md5.h
+++ b/src/lib/libcrypto/md5/md5.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: md5.h,v 1.22 2024/06/01 07:36:16 tb Exp $ */ 1/* $OpenBSD: md5.h,v 1.23 2024/06/01 07:44:11 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 *
@@ -98,8 +98,8 @@ int MD5_Update(MD5_CTX *c, const void *data, size_t len)
98 __attribute__ ((__bounded__(__buffer__, 2, 3))); 98 __attribute__ ((__bounded__(__buffer__, 2, 3)));
99int MD5_Final(unsigned char *md, MD5_CTX *c); 99int MD5_Final(unsigned char *md, MD5_CTX *c);
100unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md) 100unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
101 __attribute__ ((__nonnull__(3))) 101 __attribute__ ((__bounded__(__buffer__, 1, 2)))
102 __attribute__ ((__bounded__(__buffer__, 1, 2))); 102 __attribute__ ((__nonnull__(3)));
103void MD5_Transform(MD5_CTX *c, const unsigned char *b); 103void MD5_Transform(MD5_CTX *c, const unsigned char *b);
104#ifdef __cplusplus 104#ifdef __cplusplus
105} 105}