summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2023-05-28 13:57:27 +0000
committerjsing <>2023-05-28 13:57:27 +0000
commit0eb718914decfe880abddbeaaa38a9f4085be18d (patch)
tree42e238d17d4ba1b289e4087e17da3b67d435c33c /src
parent3c370dcc242f677576f3aa514b79ba102f5cee7f (diff)
downloadopenbsd-0eb718914decfe880abddbeaaa38a9f4085be18d.tar.gz
openbsd-0eb718914decfe880abddbeaaa38a9f4085be18d.tar.bz2
openbsd-0eb718914decfe880abddbeaaa38a9f4085be18d.zip
Clean up includes.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/sha/sha256.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/libcrypto/sha/sha256.c b/src/lib/libcrypto/sha/sha256.c
index 8ee23f3474..62e7a397f6 100644
--- a/src/lib/libcrypto/sha/sha256.c
+++ b/src/lib/libcrypto/sha/sha256.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha256.c,v 1.18 2023/05/28 13:55:55 jsing Exp $ */ 1/* $OpenBSD: sha256.c,v 1.19 2023/05/28 13:57:27 jsing Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -52,17 +52,16 @@
52 * Hudson (tjh@cryptsoft.com). 52 * Hudson (tjh@cryptsoft.com).
53 */ 53 */
54 54
55#include <openssl/opensslconf.h>
56
57#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256)
58
59#include <endian.h> 55#include <endian.h>
60#include <stdlib.h> 56#include <stdlib.h>
61#include <string.h> 57#include <string.h>
62 58
59#include <openssl/opensslconf.h>
60
63#include <openssl/crypto.h> 61#include <openssl/crypto.h>
64#include <openssl/sha.h> 62#include <openssl/sha.h>
65#include <openssl/opensslv.h> 63
64#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256)
66 65
67int 66int
68SHA224_Init(SHA256_CTX *c) 67SHA224_Init(SHA256_CTX *c)