From f6fc4eaf77ac151fd4a18944c2d38a13e6bf5c05 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 1 Jun 2024 08:11:44 +0000 Subject: [PATCH] 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))); -- 2.20.1