From b2ad0e0cfc3e811d6bbcbb6502c5e36a34319de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Thu, 31 Oct 2024 17:19:22 +0100 Subject: [PATCH] aligning definitions --- mz_crypt_openssl.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mz_crypt_openssl.c b/mz_crypt_openssl.c index c86ad2f7..1fda9d67 100644 --- a/mz_crypt_openssl.c +++ b/mz_crypt_openssl.c @@ -269,8 +269,8 @@ void mz_crypt_sha_delete(void **handle) { /***************************************************************************/ typedef struct mz_crypt_aes_s { - int32_t mode; - unsigned long error; + int32_t mode; + unsigned long error; EVP_CIPHER_CTX *ctx; } mz_crypt_aes; @@ -488,14 +488,14 @@ void mz_crypt_aes_delete(void **handle) { typedef struct mz_crypt_hmac_s { #if OPENSSL_VERSION_NUMBER < 0x30000000L - HMAC_CTX *ctx; + HMAC_CTX *ctx; #else - EVP_MAC *mac; - EVP_MAC_CTX *ctx; + EVP_MAC *mac; + EVP_MAC_CTX *ctx; #endif - int32_t initialized; - unsigned long error; - uint16_t algorithm; + int32_t initialized; + unsigned long error; + uint16_t algorithm; } mz_crypt_hmac; /***************************************************************************/