summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-06-01 08:11:44 +0000
committertb <>2024-06-01 08:11:44 +0000
commit68c7beb2c6e5861de9bfb00a080c0864b211fd3c (patch)
tree78f3fd7ffdc0839cb0d1d8f20b16d8144e967607
parentf1d0891cbe8e9a0eb2a6b78725f11429b2224763 (diff)
downloadopenbsd-68c7beb2c6e5861de9bfb00a080c0864b211fd3c.tar.gz
openbsd-68c7beb2c6e5861de9bfb00a080c0864b211fd3c.tar.bz2
openbsd-68c7beb2c6e5861de9bfb00a080c0864b211fd3c.zip
Missed SHA224() in previous: reverse order of attributes
-rw-r--r--src/lib/libcrypto/sha/sha.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sha/sha.h b/src/lib/libcrypto/sha/sha.h
index 778a9c83ec..cef2d7f497 100644
--- a/src/lib/libcrypto/sha/sha.h
+++ b/src/lib/libcrypto/sha/sha.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha.h,v 1.24 2024/06/01 07:44:11 tb Exp $ */ 1/* $OpenBSD: sha.h,v 1.25 2024/06/01 08:11:44 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 *
@@ -126,8 +126,8 @@ int SHA224_Update(SHA256_CTX *c, const void *data, size_t len)
126 __attribute__ ((__bounded__(__buffer__, 2, 3))); 126 __attribute__ ((__bounded__(__buffer__, 2, 3)));
127int SHA224_Final(unsigned char *md, SHA256_CTX *c); 127int SHA224_Final(unsigned char *md, SHA256_CTX *c);
128unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md) 128unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md)
129 __attribute__ ((__nonnull__(3))) 129 __attribute__ ((__bounded__(__buffer__, 1, 2)))
130 __attribute__ ((__bounded__(__buffer__, 1, 2))); 130 __attribute__ ((__nonnull__(3)));
131int SHA256_Init(SHA256_CTX *c); 131int SHA256_Init(SHA256_CTX *c);
132int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) 132int SHA256_Update(SHA256_CTX *c, const void *data, size_t len)
133 __attribute__ ((__bounded__(__buffer__, 2, 3))); 133 __attribute__ ((__bounded__(__buffer__, 2, 3)));