diff options
| author | bcook <> | 2021-11-09 18:40:21 +0000 |
|---|---|---|
| committer | bcook <> | 2021-11-09 18:40:21 +0000 |
| commit | 4d7b2a303b0012f3d9ea474efcca97480a760a9e (patch) | |
| tree | 3d08be06ef36588938f48b03e786f7f3d32b03f2 /src/lib/libcrypto/modes | |
| parent | 711bd79ee2c263531a0b623d831cb840afc6e930 (diff) | |
| download | openbsd-4d7b2a303b0012f3d9ea474efcca97480a760a9e.tar.gz openbsd-4d7b2a303b0012f3d9ea474efcca97480a760a9e.tar.bz2 openbsd-4d7b2a303b0012f3d9ea474efcca97480a760a9e.zip | |
Switch to <endian.h> from <machine/endian.h> for better portability.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/modes')
| -rw-r--r-- | src/lib/libcrypto/modes/modes_lcl.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/modes/xts128.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/modes/modes_lcl.h b/src/lib/libcrypto/modes/modes_lcl.h index f8830e4deb..91820897f7 100644 --- a/src/lib/libcrypto/modes/modes_lcl.h +++ b/src/lib/libcrypto/modes/modes_lcl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: modes_lcl.h,v 1.10 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: modes_lcl.h,v 1.11 2021/11/09 18:40:21 bcook Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -6,7 +6,7 @@ | |||
| 6 | * ==================================================================== | 6 | * ==================================================================== |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <machine/endian.h> | 9 | #include <endian.h> |
| 10 | 10 | ||
| 11 | #include <openssl/opensslconf.h> | 11 | #include <openssl/opensslconf.h> |
| 12 | 12 | ||
diff --git a/src/lib/libcrypto/modes/xts128.c b/src/lib/libcrypto/modes/xts128.c index 0be23d4ea9..2084892ee6 100644 --- a/src/lib/libcrypto/modes/xts128.c +++ b/src/lib/libcrypto/modes/xts128.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: xts128.c,v 1.7 2017/08/13 17:46:24 bcook Exp $ */ | 1 | /* $OpenBSD: xts128.c,v 1.8 2021/11/09 18:40:21 bcook Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -48,9 +48,10 @@ | |||
| 48 | * ==================================================================== | 48 | * ==================================================================== |
| 49 | */ | 49 | */ |
| 50 | 50 | ||
| 51 | #include <machine/endian.h> | ||
| 52 | #include <openssl/crypto.h> | 51 | #include <openssl/crypto.h> |
| 53 | #include "modes_lcl.h" | 52 | #include "modes_lcl.h" |
| 53 | |||
| 54 | #include <endian.h> | ||
| 54 | #include <string.h> | 55 | #include <string.h> |
| 55 | 56 | ||
| 56 | #ifndef MODES_DEBUG | 57 | #ifndef MODES_DEBUG |
