Subject: | incompatibility with openssl-1.1.0 |
the eclosed patch is needed for compatibility with openssl-1.1.0 (which is what is bundled with the latest strawberry perl)
diff -ru Filter-Crypto-2.07/CryptoCommon-c.inc Filter-Crypto-2.07_patched/CryptoCommon-c.inc --- Filter-Crypto-2.07/CryptoCommon-c.inc 2015-02-28 13:21:22.000000000 +0100 +++ Filter-Crypto-2.07_patched/CryptoCommon-c.inc 2017-06-02 23:18:36.965896200 +0200 @@ -157,7 +157,7 @@ Newxz(ctx, 1, FILTER_CRYPTO_CCTX); /* Allocate the cipher context. */ - Newxz(ctx->cipher_ctx, 1, EVP_CIPHER_CTX); + ctx->cipher_ctx = EVP_CIPHER_CTX_new(); /* Allocate a pair of SVs with enough string space to hold a salt and an * initialization vector (IV) respectively, and store their required @@ -454,7 +454,7 @@ #endif /* Free the cipher context. */ - Safefree(ctx->cipher_ctx); + EVP_CIPHER_CTX_free(ctx->cipher_ctx); ctx->cipher_ctx = NULL; /* Free the crypto context. */