Skip to content

Commit

Permalink
aligning definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur authored and nmoinvaz committed Oct 31, 2024
1 parent 073c9e7 commit b2ad0e0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions mz_crypt_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

/***************************************************************************/
Expand Down

0 comments on commit b2ad0e0

Please sign in to comment.