diff options
| author | jsing <> | 2023-03-26 19:04:06 +0000 |
|---|---|---|
| committer | jsing <> | 2023-03-26 19:04:06 +0000 |
| commit | 863243f644e6c447602f8d0ad0b44ebf7e026857 (patch) | |
| tree | de74a1433050c3e41889d43a4940422b9e74cac9 /src/lib/libcrypto/sha/sha1dgst.c | |
| parent | 61c361e2965098b82e910c8633bcccdedd6d23a4 (diff) | |
| download | openbsd-863243f644e6c447602f8d0ad0b44ebf7e026857.tar.gz openbsd-863243f644e6c447602f8d0ad0b44ebf7e026857.tar.bz2 openbsd-863243f644e6c447602f8d0ad0b44ebf7e026857.zip | |
Tidy up includes.
Diffstat (limited to 'src/lib/libcrypto/sha/sha1dgst.c')
| -rw-r--r-- | src/lib/libcrypto/sha/sha1dgst.c | 14 |
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 |
