diff options
author | bcook <> | 2021-11-09 18:40:21 +0000 |
---|---|---|
committer | bcook <> | 2021-11-09 18:40:21 +0000 |
commit | 32252b67905445c5f332781497a1509d803f7aee (patch) | |
tree | 3d08be06ef36588938f48b03e786f7f3d32b03f2 /src/lib/libcrypto/modes/xts128.c | |
parent | 07305e812277e705090ef12fc544cfaca761f7b0 (diff) | |
download | openbsd-32252b67905445c5f332781497a1509d803f7aee.tar.gz openbsd-32252b67905445c5f332781497a1509d803f7aee.tar.bz2 openbsd-32252b67905445c5f332781497a1509d803f7aee.zip |
Switch to <endian.h> from <machine/endian.h> for better portability.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/modes/xts128.c')
-rw-r--r-- | src/lib/libcrypto/modes/xts128.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 |