diff options
author | jsing <> | 2024-03-26 04:11:42 +0000 |
---|---|---|
committer | jsing <> | 2024-03-26 04:11:42 +0000 |
commit | 8a6f69fc8ad3fff3144805a448d7a79d1cd0bf61 (patch) | |
tree | 480d36a15bde3d5a47eb6cabf3080afd5226b767 /src | |
parent | 2f0f60ca5f805f51622d846cb90343d577d5e328 (diff) | |
download | openbsd-8a6f69fc8ad3fff3144805a448d7a79d1cd0bf61.tar.gz openbsd-8a6f69fc8ad3fff3144805a448d7a79d1cd0bf61.tar.bz2 openbsd-8a6f69fc8ad3fff3144805a448d7a79d1cd0bf61.zip |
Fix function guards.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/crypto_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/crypto_internal.h b/src/lib/libcrypto/crypto_internal.h index e5742657d5..5e21535f37 100644 --- a/src/lib/libcrypto/crypto_internal.h +++ b/src/lib/libcrypto/crypto_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: crypto_internal.h,v 1.7 2023/08/15 08:39:27 jsing Exp $ */ | 1 | /* $OpenBSD: crypto_internal.h,v 1.8 2024/03/26 04:11:42 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -92,7 +92,7 @@ crypto_store_htobe64(uint8_t *dst, uint64_t v) | |||
92 | * unsigned host endian value, from the specified address in memory. The memory | 92 | * unsigned host endian value, from the specified address in memory. The memory |
93 | * address may have any alignment. | 93 | * address may have any alignment. |
94 | */ | 94 | */ |
95 | #ifndef HAVE_CRYPTO_LOAD_BE32TOH | 95 | #ifndef HAVE_CRYPTO_LOAD_LE32TOH |
96 | static inline uint32_t | 96 | static inline uint32_t |
97 | crypto_load_le32toh(const uint8_t *src) | 97 | crypto_load_le32toh(const uint8_t *src) |
98 | { | 98 | { |
@@ -109,7 +109,7 @@ crypto_load_le32toh(const uint8_t *src) | |||
109 | * unsigned little endian value, at the specified address in memory. The memory | 109 | * unsigned little endian value, at the specified address in memory. The memory |
110 | * address may have any alignment. | 110 | * address may have any alignment. |
111 | */ | 111 | */ |
112 | #ifndef HAVE_CRYPTO_STORE_HTOBE32 | 112 | #ifndef HAVE_CRYPTO_STORE_HTOLE32 |
113 | static inline void | 113 | static inline void |
114 | crypto_store_htole32(uint8_t *dst, uint32_t v) | 114 | crypto_store_htole32(uint8_t *dst, uint32_t v) |
115 | { | 115 | { |