diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-05-28 13:57:28 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-05-28 13:57:28 +0000 |
commit | 15b77bbe0067c9180840c27fe2c40eba4ccf2e6d (patch) | |
tree | 33954422287cba54afe856dff4a2e96a03063c7e /lib | |
parent | 47a9da9fc312db7b749f562d1bb331575a9e1573 (diff) |
Clean up includes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/sha/sha256.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libcrypto/sha/sha256.c b/lib/libcrypto/sha/sha256.c index 8ee23f34743..62e7a397f65 100644 --- a/lib/libcrypto/sha/sha256.c +++ b/lib/libcrypto/sha/sha256.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sha256.c,v 1.18 2023/05/28 13:55:55 jsing Exp $ */ +/* $OpenBSD: sha256.c,v 1.19 2023/05/28 13:57:27 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. * @@ -52,17 +52,16 @@ * Hudson (tjh@cryptsoft.com). */ -#include <openssl/opensslconf.h> - -#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256) - #include <endian.h> #include <stdlib.h> #include <string.h> +#include <openssl/opensslconf.h> + #include <openssl/crypto.h> #include <openssl/sha.h> -#include <openssl/opensslv.h> + +#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256) int SHA224_Init(SHA256_CTX *c) |