diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-06-01 08:11:45 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-06-01 08:11:45 +0000 |
commit | e61c8bbdcacb26dc6c6c72b083d399058c28d993 (patch) | |
tree | 512adc9d7f439194980fcf2ca0424986bb596dbc | |
parent | 7a388a45d37c59a8764734cc65cb70a3f4aea87b (diff) |
Missed SHA224() in previous: reverse order of attributes
-rw-r--r-- | lib/libcrypto/sha/sha.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/sha/sha.h b/lib/libcrypto/sha/sha.h index 778a9c83ecf..cef2d7f497d 100644 --- a/lib/libcrypto/sha/sha.h +++ b/lib/libcrypto/sha/sha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sha.h,v 1.24 2024/06/01 07:44:11 tb Exp $ */ +/* $OpenBSD: sha.h,v 1.25 2024/06/01 08:11:44 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -126,8 +126,8 @@ int SHA224_Update(SHA256_CTX *c, const void *data, size_t len) __attribute__ ((__bounded__(__buffer__, 2, 3))); int SHA224_Final(unsigned char *md, SHA256_CTX *c); unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md) - __attribute__ ((__nonnull__(3))) - __attribute__ ((__bounded__(__buffer__, 1, 2))); + __attribute__ ((__bounded__(__buffer__, 1, 2))) + __attribute__ ((__nonnull__(3))); int SHA256_Init(SHA256_CTX *c); int SHA256_Update(SHA256_CTX *c, const void *data, size_t len) __attribute__ ((__bounded__(__buffer__, 2, 3))); |