From e2ebbe4ea3a93c959b9f9d381c456e497aab202a Mon Sep 17 00:00:00 2001 From: jsing Date: Tue, 26 Mar 2024 04:11:42 +0000 Subject: [PATCH] Fix function guards. --- lib/libcrypto/crypto_internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/crypto_internal.h b/lib/libcrypto/crypto_internal.h index e5742657d51..5e21535f37c 100644 --- a/lib/libcrypto/crypto_internal.h +++ b/lib/libcrypto/crypto_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto_internal.h,v 1.7 2023/08/15 08:39:27 jsing Exp $ */ +/* $OpenBSD: crypto_internal.h,v 1.8 2024/03/26 04:11:42 jsing Exp $ */ /* * Copyright (c) 2023 Joel Sing * @@ -92,7 +92,7 @@ crypto_store_htobe64(uint8_t *dst, uint64_t v) * unsigned host endian value, from the specified address in memory. The memory * address may have any alignment. */ -#ifndef HAVE_CRYPTO_LOAD_BE32TOH +#ifndef HAVE_CRYPTO_LOAD_LE32TOH static inline uint32_t crypto_load_le32toh(const uint8_t *src) { @@ -109,7 +109,7 @@ crypto_load_le32toh(const uint8_t *src) * unsigned little endian value, at the specified address in memory. The memory * address may have any alignment. */ -#ifndef HAVE_CRYPTO_STORE_HTOBE32 +#ifndef HAVE_CRYPTO_STORE_HTOLE32 static inline void crypto_store_htole32(uint8_t *dst, uint32_t v) { -- 2.20.1