summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2023-03-26 19:04:06 +0000
committerjsing <>2023-03-26 19:04:06 +0000
commit3d89c2c784f0833844993c6b017566209f36071e (patch)
treede74a1433050c3e41889d43a4940422b9e74cac9 /src
parent03c752540feedc924649a510431fbc4a89b284d8 (diff)
downloadopenbsd-3d89c2c784f0833844993c6b017566209f36071e.tar.gz
openbsd-3d89c2c784f0833844993c6b017566209f36071e.tar.bz2
openbsd-3d89c2c784f0833844993c6b017566209f36071e.zip
Tidy up includes.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/sha/sha1dgst.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/libcrypto/sha/sha1dgst.c b/src/lib/libcrypto/sha/sha1dgst.c
index 2700c46804..81141d89da 100644
--- a/src/lib/libcrypto/sha/sha1dgst.c
+++ b/src/lib/libcrypto/sha/sha1dgst.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha1dgst.c,v 1.17 2023/03/26 19:02:40 jsing Exp $ */ 1/* $OpenBSD: sha1dgst.c,v 1.18 2023/03/26 19:04:06 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -56,20 +56,16 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <openssl/opensslconf.h>
60
61#include <openssl/crypto.h>
62
63#if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA)
64
65#include <openssl/opensslv.h>
66
67#include <stdlib.h> 59#include <stdlib.h>
68#include <string.h> 60#include <string.h>
69 61
70#include <openssl/opensslconf.h> 62#include <openssl/opensslconf.h>
63
64#include <openssl/crypto.h>
71#include <openssl/sha.h> 65#include <openssl/sha.h>
72 66
67#if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA)
68
73#define DATA_ORDER_IS_BIG_ENDIAN 69#define DATA_ORDER_IS_BIG_ENDIAN
74 70
75#define HASH_LONG SHA_LONG 71#define HASH_LONG SHA_LONG