Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 11:37:47 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r482164 - in head/editors: openoffice-4 openoffice-4/files openoffice-devel openoffice-devel/files
Message-ID:  <tkrat.87393dc4943c7bfa@FreeBSD.org>
In-Reply-To: <bm7v-xfnj-wny@FreeBSD.org>
References:  <201810151727.w9FHRg1Z083071@repo.freebsd.org> <bm7v-xfnj-wny@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Oct, Jan Beich wrote:
> Don Lewis <truckman@FreeBSD.org> writes:
> 
>> ++        EVP_CIPHER_CTX *pAes_ctx;
>> ++#if OPENSSL_VERSION_NUMBER < 0x10100000L
>> +         EVP_CIPHER_CTX aes_ctx;
>> +         EVP_CIPHER_CTX_init( &aes_ctx );
>> +-        EVP_DecryptInit_ex( &aes_ctx, EVP_aes_128_ecb(), 0, pnKey, 0 );
>> +-        EVP_CIPHER_CTX_set_padding( &aes_ctx, 0 );
>> ++        pAes_ctx = &aes_ctx;
>> ++#else
>> ++        pAes_ctx = EVP_CIPHER_CTX_new();
>> ++#endif
>> ++        EVP_DecryptInit_ex( pAes_ctx, EVP_aes_128_ecb(), 0, pnKey, 0 );
>> ++        EVP_CIPHER_CTX_set_padding( pAes_ctx, 0 );
> 
> Why conditional? Also, LibreSSL still uses non-opaque structs.

The older OpenSSL man page doesn't mention EVP_CIPHER_CTX_new(), so
I assumed that it wasn't implemented.

Nobody seems to have tried building OpenOffice with LibreSSL.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tkrat.87393dc4943c7bfa>