mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
27 lines
951 B
Diff
27 lines
951 B
Diff
Patch-Source: https://github.com/wolfSSL/wolfssh/commit/bcbddd0bf252e60c908708ed48747f917268d93a
|
|
From bcbddd0bf252e60c908708ed48747f917268d93a Mon Sep 17 00:00:00 2001
|
|
From: msi-debian <msi-debian@ZackGameServer.search.charter.com>
|
|
Date: Sat, 1 Feb 2025 14:09:47 -0700
|
|
Subject: [PATCH] Adding define for wc_aes_block_size
|
|
|
|
---
|
|
wolfssh/internal.h | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/wolfssh/internal.h b/wolfssh/internal.h
|
|
index 14cb124de..2bf7f35ee 100644
|
|
--- a/wolfssh/internal.h
|
|
+++ b/wolfssh/internal.h
|
|
@@ -459,6 +459,11 @@ WOLFSSH_LOCAL const char* IdToName(byte id);
|
|
WOLFSSH_LOCAL const char* NameByIndexType(byte type, word32* index);
|
|
|
|
|
|
+/* For cases when openssl coexist is used */
|
|
+#ifdef WC_NO_COMPAT_AES_BLOCK_SIZE
|
|
+ #define AES_BLOCK_SIZE WC_AES_BLOCK_SIZE
|
|
+#endif
|
|
+
|
|
#define STATIC_BUFFER_LEN AES_BLOCK_SIZE
|
|
/* This is one AES block size. We always grab one
|
|
* block size first to decrypt to find the size of
|