Hans Leidekker : bcrypt: Add compatibility defines for AES CFB8.
Alexandre Julliard
julliard at winehq.org
Tue Aug 9 15:19:54 CDT 2022
Module: wine
Branch: master
Commit: c2328d0fde59b0070e6f877453f30b3c1f62ae27
URL: https://gitlab.winehq.org/wine/wine/-/commit/c2328d0fde59b0070e6f877453f30b3c1f62ae27
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon Aug 8 12:21:20 2022 +0200
bcrypt: Add compatibility defines for AES CFB8.
---
dlls/bcrypt/gnutls.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/bcrypt/gnutls.c b/dlls/bcrypt/gnutls.c
index 9d52b7360ce..64a7a195527 100644
--- a/dlls/bcrypt/gnutls.c
+++ b/dlls/bcrypt/gnutls.c
@@ -69,6 +69,12 @@ typedef enum
} gnutls_ecc_curve_t;
#endif
+#if GNUTLS_VERSION_MAJOR < 3 || (GNUTLS_VERSION_MAJOR == 3 && GNUTLS_VERSION_MINOR < 6)
+#define GNUTLS_CIPHER_AES_128_CFB8 29
+#define GNUTLS_CIPHER_AES_192_CFB8 30
+#define GNUTLS_CIPHER_AES_256_CFB8 31
+#endif
+
union key_data
{
gnutls_cipher_hd_t cipher;
More information about the wine-cvs
mailing list