summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/modes')
-rw-r--r--src/lib/libcrypto/modes/modes_lcl.h4
-rw-r--r--src/lib/libcrypto/modes/xts128.c5
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