summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/gost
diff options
context:
space:
mode:
authorbcook <>2021-11-09 18:40:21 +0000
committerbcook <>2021-11-09 18:40:21 +0000
commit4d7b2a303b0012f3d9ea474efcca97480a760a9e (patch)
tree3d08be06ef36588938f48b03e786f7f3d32b03f2 /src/lib/libcrypto/gost
parent711bd79ee2c263531a0b623d831cb840afc6e930 (diff)
downloadopenbsd-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/gost')
-rw-r--r--src/lib/libcrypto/gost/gost2814789.c5
-rw-r--r--src/lib/libcrypto/gost/streebog.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/libcrypto/gost/gost2814789.c b/src/lib/libcrypto/gost/gost2814789.c
index f1066f2467..0841a03b1e 100644
--- a/src/lib/libcrypto/gost/gost2814789.c
+++ b/src/lib/libcrypto/gost/gost2814789.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gost2814789.c,v 1.6 2020/09/12 02:45:05 inoguchi Exp $ */ 1/* $OpenBSD: gost2814789.c,v 1.7 2021/11/09 18:40:21 bcook Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
4 * Copyright (c) 2005-2006 Cryptocom LTD 4 * Copyright (c) 2005-2006 Cryptocom LTD
@@ -49,8 +49,7 @@
49 * ==================================================================== 49 * ====================================================================
50 */ 50 */
51 51
52#include <machine/endian.h> 52#include <endian.h>
53
54#include <string.h> 53#include <string.h>
55 54
56#include <openssl/opensslconf.h> 55#include <openssl/opensslconf.h>
diff --git a/src/lib/libcrypto/gost/streebog.c b/src/lib/libcrypto/gost/streebog.c
index 61bce0e32c..b237a2c500 100644
--- a/src/lib/libcrypto/gost/streebog.c
+++ b/src/lib/libcrypto/gost/streebog.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: streebog.c,v 1.6 2019/05/09 22:54:28 tb Exp $ */ 1/* $OpenBSD: streebog.c,v 1.7 2021/11/09 18:40:21 bcook Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> 3 * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
4 * Copyright (c) 2005-2006 Cryptocom LTD 4 * Copyright (c) 2005-2006 Cryptocom LTD
@@ -49,8 +49,7 @@
49 * ==================================================================== 49 * ====================================================================
50 */ 50 */
51 51
52#include <machine/endian.h> 52#include <endian.h>
53
54#include <stdlib.h> 53#include <stdlib.h>
55#include <string.h> 54#include <string.h>
56 55