diff options
author | Brent Cook <bcook@cvs.openbsd.org> | 2021-11-09 18:40:22 +0000 |
---|---|---|
committer | Brent Cook <bcook@cvs.openbsd.org> | 2021-11-09 18:40:22 +0000 |
commit | 4462e90c19507f6f9b4c77cbf0f0a5a92582a571 (patch) | |
tree | ef9a6dcceed0466088e0782eb18a9491b26d04d6 /lib/libcrypto/gost | |
parent | 33aa196e246f274b03c18bd529c374e9fbdd3fed (diff) |
Switch to <endian.h> from <machine/endian.h> for better portability.
ok tb@
Diffstat (limited to 'lib/libcrypto/gost')
-rw-r--r-- | lib/libcrypto/gost/gost2814789.c | 5 | ||||
-rw-r--r-- | lib/libcrypto/gost/streebog.c | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libcrypto/gost/gost2814789.c b/lib/libcrypto/gost/gost2814789.c index f1066f24678..0841a03b1e5 100644 --- a/lib/libcrypto/gost/gost2814789.c +++ b/lib/libcrypto/gost/gost2814789.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gost2814789.c,v 1.6 2020/09/12 02:45:05 inoguchi Exp $ */ +/* $OpenBSD: gost2814789.c,v 1.7 2021/11/09 18:40:21 bcook Exp $ */ /* * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> * Copyright (c) 2005-2006 Cryptocom LTD @@ -49,8 +49,7 @@ * ==================================================================== */ -#include <machine/endian.h> - +#include <endian.h> #include <string.h> #include <openssl/opensslconf.h> diff --git a/lib/libcrypto/gost/streebog.c b/lib/libcrypto/gost/streebog.c index 61bce0e32cd..b237a2c5006 100644 --- a/lib/libcrypto/gost/streebog.c +++ b/lib/libcrypto/gost/streebog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: streebog.c,v 1.6 2019/05/09 22:54:28 tb Exp $ */ +/* $OpenBSD: streebog.c,v 1.7 2021/11/09 18:40:21 bcook Exp $ */ /* * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> * Copyright (c) 2005-2006 Cryptocom LTD @@ -49,8 +49,7 @@ * ==================================================================== */ -#include <machine/endian.h> - +#include <endian.h> #include <stdlib.h> #include <string.h> |