diff options
author | 2020-09-12 02:45:05 +0000 | |
---|---|---|
committer | 2020-09-12 02:45:05 +0000 | |
commit | 08eac3bb78cf07d92853f6091ab505cfca51c43f (patch) | |
tree | 06a529136b578ad0cd5f6732aae511878a62cd2d | |
parent | Enable cert and cipher interop tests. cert just works. cipher has (diff) | |
download | wireguard-openbsd-08eac3bb78cf07d92853f6091ab505cfca51c43f.tar.xz wireguard-openbsd-08eac3bb78cf07d92853f6091ab505cfca51c43f.zip |
Include machine/endian.h in gost2814789.c
To pick up __STRICT_ALIGNMENT define, include machine/endian.h.
No kidding... deraadt@
ok bcook@ jsing@
-rw-r--r-- | lib/libcrypto/gost/gost2814789.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/gost/gost2814789.c b/lib/libcrypto/gost/gost2814789.c index e285413ed46..f1066f24678 100644 --- a/lib/libcrypto/gost/gost2814789.c +++ b/lib/libcrypto/gost/gost2814789.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gost2814789.c,v 1.5 2015/09/10 15:56:25 jsing Exp $ */ +/* $OpenBSD: gost2814789.c,v 1.6 2020/09/12 02:45:05 inoguchi Exp $ */ /* * Copyright (c) 2014 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> * Copyright (c) 2005-2006 Cryptocom LTD @@ -49,6 +49,8 @@ * ==================================================================== */ +#include <machine/endian.h> + #include <string.h> #include <openssl/opensslconf.h> |