summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinoguchi <inoguchi@openbsd.org>2017-08-30 12:09:02 +0000
committerinoguchi <inoguchi@openbsd.org>2017-08-30 12:09:02 +0000
commite37f1ed1c9103eb088dbe074a9a5907b728b3641 (patch)
tree8f260976f08188456f3eb063e2253c22b65155bb
parentrename smtp_filter_fd() to smtp_message_fd() and cleanup code. (diff)
downloadwireguard-openbsd-e37f1ed1c9103eb088dbe074a9a5907b728b3641.tar.xz
wireguard-openbsd-e37f1ed1c9103eb088dbe074a9a5907b728b3641.zip
Fix ifdef to if in gcm128.c
ok deraadt@ bcook@
-rw-r--r--lib/libcrypto/modes/gcm128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/modes/gcm128.c b/lib/libcrypto/modes/gcm128.c
index 284053a9e9b..a21abe6ded3 100644
--- a/lib/libcrypto/modes/gcm128.c
+++ b/lib/libcrypto/modes/gcm128.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gcm128.c,v 1.18 2017/08/14 05:29:32 bcook Exp $ */
+/* $OpenBSD: gcm128.c,v 1.19 2017/08/30 12:09:02 inoguchi Exp $ */
/* ====================================================================
* Copyright (c) 2010 The OpenSSL Project. All rights reserved.
*
@@ -1184,7 +1184,7 @@ int CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx,
(*block)(ctx->Yi.c,ctx->EKi.c,key);
++ctr;
-#ifdef BYTE_ORDER == LITTLE_ENDIAN
+#if BYTE_ORDER == LITTLE_ENDIAN
#ifdef BSWAP4
ctx->Yi.d[3] = BSWAP4(ctr);
#else