From e61c8bbdcacb26dc6c6c72b083d399058c28d993 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sat, 1 Jun 2024 08:11:45 +0000 Subject: Missed SHA224() in previous: reverse order of attributes --- lib/libcrypto/sha/sha.h | 6 +++--- 1 file 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))); -- cgit v1.2.3