summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinoguchi <>2020-09-12 02:45:05 +0000
committerinoguchi <>2020-09-12 02:45:05 +0000
commit31402382070c274f4b59025327e61947822c3c1a (patch)
treed42d93206a39700b4dc7ca969eef43805efffa86
parenta91c5ce4ccb891f0e7fdb5cb21fb7a48ca0b1281 (diff)
downloadopenbsd-31402382070c274f4b59025327e61947822c3c1a.tar.gz
openbsd-31402382070c274f4b59025327e61947822c3c1a.tar.bz2
openbsd-31402382070c274f4b59025327e61947822c3c1a.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--src/lib/libcrypto/gost/gost2814789.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/gost/gost2814789.c b/src/lib/libcrypto/gost/gost2814789.c
index e285413ed4..f1066f2467 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.5 2015/09/10 15:56:25 jsing Exp $ */ 1/* $OpenBSD: gost2814789.c,v 1.6 2020/09/12 02:45:05 inoguchi 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,6 +49,8 @@
49 * ==================================================================== 49 * ====================================================================
50 */ 50 */
51 51
52#include <machine/endian.h>
53
52#include <string.h> 54#include <string.h>
53 55
54#include <openssl/opensslconf.h> 56#include <openssl/opensslconf.h>