Should rewrite this module to use libsodium instead.
int key_len;
int iv_len;
unsigned long flags;
+#if OPENSSL_VERSION_NUMBER >= 0x30000000
+ int origin;
+#endif
int (*init)(EVP_CIPHER_CTX *ctx, const unsigned char *key,
const unsigned char *iv, int enc);
} evp_cipher_head;
mdb_size_t *ptr;
MY_CIPHER_CTX myctx = {0};
EVP_CIPHER_CTX *ctx = (EVP_CIPHER_CTX *)&myctx;
- my_cipherdata cactx;
+ my_cipherdata cactx = {0};
evp_cipher_head *eh = (evp_cipher_head *)cipher;
ptr = key[1].mv_data;